add shorthands to autocompletion

This commit is contained in:
Denis Lehmann 2023-10-14 17:48:43 +02:00
parent 3edb4cbe4d
commit b9e3a727e7

View file

@ -1,5 +1,5 @@
function _gis_completion {
args=" --help --path "
args=" -h -p --help --path "
commands=" fetch pull "
cur=${COMP_WORDS[COMP_CWORD]}
prev=${COMP_WORDS[COMP_CWORD-1]}