KazV2/bin/.scriptBorg-completion.bash

18 lines
408 B
Bash
Raw Permalink Normal View History

2024-07-10 18:12:55 +02:00
#!/bin/bash
2024-07-10 20:49:31 +02:00
KAZ_ROOT=/kaz
2024-07-10 18:12:55 +02:00
. "${KAZ_ROOT}/bin/.commonFunctions.sh"
setKazVars
_borg()
{
local current=${COMP_WORDS[COMP_CWORD]}
case "$current" in
-*)
2024-08-16 08:45:49 +02:00
local_prop="-h -d -i -l -m -u -t -p -v -info"
2024-07-10 18:12:55 +02:00
COMPREPLY=( $(compgen -W "${local_prop}" -- $current) )
;;
esac
}
complete -F _borg scriptBorg.sh