install bash completion scripts

Completion itself is not implemented.
This commit is contained in:
Dietmar Maurer
2018-12-11 12:54:10 +01:00
parent 6460764dbb
commit c21de379ed
4 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1 @@
debian/pbs.bash-completion pbs

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

@ -0,0 +1,8 @@
# pbs 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 -o default -C 'pbs bashcomplete' pbs

2
debian/rules vendored
View File

@ -5,5 +5,5 @@
%:
dh $@ --with=systemd
dh $@ --with=systemd --with=bash-completion