Use comment instead of snippet as example

This commit is contained in:
Denis Isidoro 2020-08-29 19:12:41 -03:00 committed by GitHub
parent e61e588b82
commit 531a0a7508
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,12 +93,12 @@ Let's say you want to write a bash script that, among other things, asks the use
If you already have the [cheatsheet above](#cheatsheet-syntax), then you write the following in your script:
```sh
navi --query "git checkout" --best-match
navi --query "change branch" --best-match
```
If you want to set the `<branch>` beforehand in your script, you could then write:
```sh
branch="master" navi --query "git checkout" --best-match
branch="master" navi --query "change branch" --best-match
```
More info