Skip to content

Commit

Permalink
docs: Add syntax highlights (#1712)
Browse files Browse the repository at this point in the history
* Add syntax highlights

* tweak

* undo

---------

Co-authored-by: Leigh McCulloch <[email protected]>
  • Loading branch information
pamellix and leighmcculloch authored Nov 11, 2024
1 parent f1f9583 commit ec8e93f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ cargo install --locked stellar-cli --features opt

Install or run the unreleased main branch with nix:
```
% nix run 'github:stellar/stellar-cli' -- --help
$ nix run 'github:stellar/stellar-cli' -- --help
or install
% nix profile install github:stellar/stellar-cli
$ nix profile install github:stellar/stellar-cli
```

## Autocomplete
Expand All @@ -53,12 +53,12 @@ stellar completion --shell <SHELL>
Possible SHELL values are `bash`, `elvish`, `fish`, `powershell`, `zsh`, etc.

To enable autocomplete in the current bash shell, run:
```
```bash
source <(stellar completion --shell bash)
```

To enable autocomplete permanently, run:
```
```bash
echo "source <(stellar completion --shell bash)" >> ~/.bashrc
```

Expand Down

0 comments on commit ec8e93f

Please sign in to comment.