Skip to content

Commit

Permalink
Merge pull request #898 from AntelopeIO/autocomplete_readme
Browse files Browse the repository at this point in the history
add some hints on how to use bash-complete in README
  • Loading branch information
spoonincode authored Nov 30, 2023
2 parents 1879cbf + 00ef0f5 commit f69ebb8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,3 +208,10 @@ It is also possible to install using `make` instead:
```bash
sudo make install
```

## Bash Autocomplete
`cleos` and `leap-util` offer a substantial amount of functionality. Consider using bash's autocompletion support which makes it easier to discover all their various options.

For our provided `.deb` packages simply install Ubuntu's `bash-completion` package: `apt-get install bash-completion` (you may need to log out/in after installing).

If building from source install the `build/programs/cleos/bash-completion/completions/cleos` and `build/programs/leap-util/bash-completion/completions/leap-util` files to your bash-completion directory. Refer to [bash-completion's documentation](https://github.com/scop/bash-completion#faq) on the possible install locations.

0 comments on commit f69ebb8

Please sign in to comment.