[+] Autocomplete generator script
https://github.com/hykilpikonna/hyfetch/issues/96
This commit is contained in:
parent
9747856f15
commit
2007c7c01e
2 changed files with 9 additions and 1 deletions
8
tools/gen-autocomplete.sh
Executable file
8
tools/gen-autocomplete.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue