source:
trunk/secdapt/secdapt.bash_completion
@
440
| Last change on this file since 440 was 430, checked in by , 6 years ago | |
|---|---|
| File size: 271 bytes | |
| Rev | Line | |
|---|---|---|
| [430] | 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.
