correctly install bash completion helpers

This commit is contained in:
Dietmar Maurer 2019-12-03 09:52:53 +01:00
parent 57905a61b1
commit a96521577e
7 changed files with 19 additions and 14 deletions

View File

@ -1,8 +1,2 @@
# proxmox-backup-client bash completion debian/proxmox-backup-client.bc proxmox-backup-client
debian/pxar.bc pxar
# 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 'proxmox-backup-client bashcomplete' proxmox-backup-client

8
debian/proxmox-backup-client.bc vendored Normal file
View File

@ -0,0 +1,8 @@
# proxmox-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 'proxmox-backup-client bashcomplete' proxmox-backup-client

View File

@ -0,0 +1 @@
debian/proxmox-backup-manager.bc proxmox-backup-manager

View File

@ -1,3 +0,0 @@
debian/proxmox-backup-manager.bash-completion proxmox-backup-manager
debian/proxmox-backup-client.bash-completion proxmox-backup-client
debian/pxar.bash-completion pxar

View File

@ -1,3 +0,0 @@
# pxar bash completion
complete -C 'pxar bashcomplete' pxar

8
debian/pxar.bc vendored Normal file
View File

@ -0,0 +1,8 @@
# pxar 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 'pxar bashcomplete' pxar