summaryrefslogtreecommitdiff
path: root/completions/_subversion
diff options
context:
space:
mode:
Diffstat (limited to 'completions/_subversion')
-rw-r--r--completions/_subversion26
1 files changed, 13 insertions, 13 deletions
diff --git a/completions/_subversion b/completions/_subversion
index 103bcb86..2f1752c0 100644
--- a/completions/_subversion
+++ b/completions/_subversion
@@ -18,9 +18,9 @@ _svn()
if [[ $cword -eq 1 ]] ; then
if [[ "$cur" == -* ]]; then
- COMPREPLY=( $( compgen -W '--version' -- $cur ) )
+ COMPREPLY=( $( compgen -W '--version' -- "$cur" ) )
else
- COMPREPLY=( $( compgen -W "$commands" -- $cur ) )
+ COMPREPLY=( $( compgen -W "$commands" -- "$cur" ) )
fi
else
@@ -196,10 +196,10 @@ _svn()
esac
options+=" --help --config-dir"
- COMPREPLY=( $( compgen -W "$options" -- $cur ) )
+ COMPREPLY=( $( compgen -W "$options" -- "$cur" ) )
else
if [[ "$command" == @(help|h|\?) ]]; then
- COMPREPLY=( $( compgen -W "$commands" -- $cur ) )
+ COMPREPLY=( $( compgen -W "$commands" -- "$cur" ) )
else
_filedir
fi
@@ -221,9 +221,9 @@ _svnadmin()
if [[ $cword -eq 1 ]] ; then
if [[ "$cur" == -* ]]; then
- COMPREPLY=( $( compgen -W '--version' -- $cur ) )
+ COMPREPLY=( $( compgen -W '--version' -- "$cur" ) )
else
- COMPREPLY=( $( compgen -W "$commands" -- $cur ) )
+ COMPREPLY=( $( compgen -W "$commands" -- "$cur" ) )
fi
else
case $prev in
@@ -232,7 +232,7 @@ _svnadmin()
return 0
;;
--fs-type)
- COMPREPLY=( $( compgen -W 'fsfs bdb' -- $cur ) )
+ COMPREPLY=( $( compgen -W 'fsfs bdb' -- "$cur" ) )
return 0
;;
esac
@@ -269,10 +269,10 @@ _svnadmin()
esac
options+=" --help"
- COMPREPLY=( $( compgen -W "$options" -- $cur ) )
+ COMPREPLY=( $( compgen -W "$options" -- "$cur" ) )
else
if [[ "$command" == @(help|h|\?) ]]; then
- COMPREPLY=( $( compgen -W "$commands" -- $cur ) )
+ COMPREPLY=( $( compgen -W "$commands" -- "$cur" ) )
else
_filedir
fi
@@ -294,9 +294,9 @@ _svnlook()
if [[ $cword -eq 1 ]] ; then
if [[ "$cur" == -* ]]; then
- COMPREPLY=( $( compgen -W '--version' -- $cur ) )
+ COMPREPLY=( $( compgen -W '--version' -- "$cur" ) )
else
- COMPREPLY=( $( compgen -W "$commands" -- $cur ) )
+ COMPREPLY=( $( compgen -W "$commands" -- "$cur" ) )
fi
else
local command=${words[1]}
@@ -327,10 +327,10 @@ _svnlook()
esac
options+=" --help"
- COMPREPLY=( $( compgen -W "$options" -- $cur ) )
+ COMPREPLY=( $( compgen -W "$options" -- "$cur" ) )
else
if [[ "$command" == @(help|h|\?) ]]; then
- COMPREPLY=( $( compgen -W "$commands" -- $cur ) )
+ COMPREPLY=( $( compgen -W "$commands" -- "$cur" ) )
else
_filedir
fi