mirror of
https://github.com/spf13/cobra
synced 2025-05-05 04:47:22 +00:00
support bash3
This commit is contained in:
parent
cbcd050e4f
commit
d115eb6249
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ __start_%[1]s()
|
||||||
if [[ $(type -t compopt) = "builtin" ]]; then
|
if [[ $(type -t compopt) = "builtin" ]]; then
|
||||||
complete -o default -F __start_%[1]s %[1]s
|
complete -o default -F __start_%[1]s %[1]s
|
||||||
else
|
else
|
||||||
complete -F __start_%[1]s %[1]s
|
complete -o default -o nospace -F __start_%[1]s %[1]s
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ex: ts=4 sw=4 et filetype=sh
|
# ex: ts=4 sw=4 et filetype=sh
|
||||||
|
|
Loading…
Add table
Reference in a new issue