mirror of
https://git.proxmox.com/git/proxmox-offline-mirror
synced 2025-04-28 15:24:24 +00:00
add bash completion
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
ccb184215c
commit
5c6035f227
8
debian/proxmox-apt-repo.bc
vendored
Normal file
8
debian/proxmox-apt-repo.bc
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
# proxmox-apt-repo 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-apt-repo bashcomplete' proxmox-apt-repo
|
2
debian/proxmox-offline-mirror.bash-completion
vendored
Normal file
2
debian/proxmox-offline-mirror.bash-completion
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
debian/proxmox-offline-mirror.bc proxmox-offline-mirror
|
||||
debian/proxmox-apt-repo.bc proxmox-apt-repo
|
8
debian/proxmox-offline-mirror.bc
vendored
Normal file
8
debian/proxmox-offline-mirror.bc
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
# proxmox-offline-mirror 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-offline-mirror bashcomplete' proxmox-offline-mirror
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
export BUILD_MODE=release-deb
|
||||
%:
|
||||
dh $@ --buildsystem cargo
|
||||
dh $@ --buildsystem cargo --with=bash-completion
|
||||
|
||||
override_dh_auto_test:
|
||||
# skip for now to avoid additional debug builds - no tests anyway
|
||||
|
Loading…
Reference in New Issue
Block a user