esm-tools / esm_master

GNU General Public License v2.0
2 stars 2 forks source link

generates a bash autocomplete script users can include. #4

Closed pgierz closed 4 years ago

pgierz commented 4 years ago

Allows a tab completion script to be generated for the user:

$ esm_master --generate_tab_complete
Wrote file: esm_master_tabcomplete.bash
Have your shell source this file to allow tab completion of available targets
This works for both bash and zsh
$ source esm_master_tabcomplete.bash
$ esm_master <tab>

Voila!