add backup-client bash completion

This commit is contained in:
Dietmar Maurer 2018-12-15 11:19:04 +01:00
parent 5f0c2d5652
commit e2f93d4fd4
2 changed files with 9 additions and 0 deletions

View File

@ -1 +1,2 @@
debian/pbs.bash-completion pbs debian/pbs.bash-completion pbs
debian/backup-client.bash-completion backup-client

8
debian/backup-client.bash-completion vendored Normal file
View File

@ -0,0 +1,8 @@
# backup-client bash completion
# see http://tiswww.case.edu/php/chet/bash/FAQ
# and __ltrim_colon_completions() in /usr/share/bash-completion/bash_completion
# this modifies global var, but I found no better way
COMP_WORDBREAKS=${COMP_WORDBREAKS//:}
complete -C 'backup-client bashcomplete' backup-client