mirror of
https://github.com/spf13/cobra
synced 2025-05-04 20:37:24 +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
|
||||
complete -o default -F __start_%[1]s %[1]s
|
||||
else
|
||||
complete -F __start_%[1]s %[1]s
|
||||
complete -o default -o nospace -F __start_%[1]s %[1]s
|
||||
fi
|
||||
|
||||
# ex: ts=4 sw=4 et filetype=sh
|
||||
|
|
Loading…
Add table
Reference in a new issue