diff options
Diffstat (limited to 'completions/cvsps')
-rw-r--r-- | completions/cvsps | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/completions/cvsps b/completions/cvsps index f22b7a46..1821a1a1 100644 --- a/completions/cvsps +++ b/completions/cvsps @@ -1,7 +1,5 @@ # bash completion for cvsps -have cvsps || return - _cvsps() { local cur prev words cword @@ -44,7 +42,7 @@ _cvsps() return 0 ;; --root) - declare -F _cvs_roots &>/dev/null && _cvs_roots + _xfunc cvs _cvs_roots return 0 ;; esac @@ -52,7 +50,7 @@ _cvsps() if [[ "$cur" == -* ]] ; then COMPREPLY=( $( compgen -W '$( _parse_help "$1" -h )' -- "$cur" ) ) else - declare -F _cvs_roots &>/dev/null && _cvs_roots + _xfunc cvs _cvs_roots fi } && complete -F _cvsps cvsps |