[+] Generate shell completions

https://github.com/hykilpikonna/hyfetch/issues/96
This commit is contained in:
Azalea Gui 2023-05-01 17:22:06 -04:00
parent 2007c7c01e
commit 365abe2c80
5 changed files with 212 additions and 5 deletions

View file

@ -3,6 +3,6 @@
# Echo all commands
set -x
shtab --shell=bash hyfetch.main.create_parser > hyfetch/scripts/autocomplete.bash
shtab --shell=zsh hyfetch.main.create_parser > hyfetch/scripts/autocomplete.zsh
shtab --shell=tcsh hyfetch.main.create_parser > hyfetch/scripts/autocomplete.csh
shtab --shell=bash -u hyfetch.main.create_parser > hyfetch/scripts/autocomplete.bash
shtab --shell=zsh -u hyfetch.main.create_parser > hyfetch/scripts/autocomplete.zsh
shtab --shell=tcsh -u hyfetch.main.create_parser > hyfetch/scripts/autocomplete.csh