This commit is contained in:
2023-09-18 13:41:06 +05:30
parent 6687da63a1
commit 16a013293b
2 changed files with 18 additions and 0 deletions
@@ -3,3 +3,6 @@
./bin/bash-session
./bin/ibus-next-engine.py
./bin/csv-split-by-col.py
./bin/dasel_linux_amd64
./bin/octosql
./bin/dsq
@@ -0,0 +1,15 @@
_complete_hdutils(){
saveIFS=$IFS
IFS=$'\n'
case $COMP_CWORD in
1)
COMPREPLY=( $( compgen -W "$( /home/harish/.local/bin/hari-tools.sh list-commands )" -- "${COMP_WORDS[COMP_CWORD]}") )
;;
*)
COMPREPLY=( $( compgen -o default -- "${COMP_WORDS[COMP_CWORD]}") )
;;
esac
IFS="$saveIFS"
return 0
}
complete -F _complete_hdutils hari-tools.sh