Version, and Release bump, fixed dependency issues
This commit is contained in:
23
comp.bash
Normal file
23
comp.bash
Normal file
@@ -0,0 +1,23 @@
|
||||
# completions/comp.bash
|
||||
_comp_completions()
|
||||
{
|
||||
local cur prev opts
|
||||
COMPREPLY=()
|
||||
cur = "${COMP_WORDS[COMP_CWORD]}"
|
||||
prev = "${COMP_WORDS[COMP_CWORD-1]}"
|
||||
opts = "-h --help -v --version"
|
||||
|
||||
if [[ "$cur" == -* ]]; then
|
||||
COMPREPLY = ( $(compgen -W "${opts}" -- "$cur"))
|
||||
return 0
|
||||
fi
|
||||
|
||||
if [[ $COMP_CWORD -eq 1 ]]; then
|
||||
COMPREPLY=( $(compgen -d -- "$cur") $(compgen -f -- "$cur"))
|
||||
return 0
|
||||
fi
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
complete -F _comp_completions comp
|
||||
Reference in New Issue
Block a user