diff options
Diffstat (limited to 'completions/cvs')
-rw-r--r-- | completions/cvs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/completions/cvs b/completions/cvs index 4613742a..71277556 100644 --- a/completions/cvs +++ b/completions/cvs @@ -326,7 +326,7 @@ _cvs() fi pwd=$( pwd ) pwd=${pwd##*/} - COMPREPLY=( $( compgen -W '${COMPREPLY[@]} $pwd' -- $cur ) ) + COMPREPLY=( $( compgen -W '${COMPREPLY[@]} $pwd' -- "$cur" ) ) else _cvs_command_options "$1" $mode fi @@ -376,9 +376,9 @@ _cvs() ;; esac - COMPREPLY=( $( compgen -W '$( _cvs_commands ) \ - $( _parse_help "$1" --help-options ) \ - --help --help-commands --help-options --version' -- "$cur" ) ) + COMPREPLY=( $( compgen -W '$( _cvs_commands ) + $( _parse_help "$1" --help-options ) --help --help-commands + --help-options --version' -- "$cur" ) ) ;; esac |