source:
trunk/secdapt/secdapt.bash_completion
@
430
Last change on this file since 430 was 430, checked in by , 5 years ago | |
---|---|
File size: 271 bytes |
Line | |
---|---|
1 | # bash completion for secdapt |
2 | |
3 | have secdapt && |
4 | _secdapt() { |
5 | local cur prev |
6 | |
7 | COMPREPLY=() |
8 | |
9 | COMPREPLY=($(compgen -W "$($(which secdapt||echo /usr/bin/secdapt) help|grep '^ secdapt'|awk '{print $2}'|xargs echo -n)" -- "$cur")) |
10 | |
11 | } && complete -F _secdapt secdapt |
Note: See TracBrowser
for help on using the repository browser.