summaryrefslogtreecommitdiff
path: root/completions/monodevelop
diff options
context:
space:
mode:
Diffstat (limited to 'completions/monodevelop')
-rw-r--r--completions/monodevelop8
1 files changed, 4 insertions, 4 deletions
diff --git a/completions/monodevelop b/completions/monodevelop
index 4aa213b7..1c5b5ba4 100644
--- a/completions/monodevelop
+++ b/completions/monodevelop
@@ -7,13 +7,13 @@ _monodevelop()
$split && return
- if [[ "$cur" == -* ]]; then
- COMPREPLY=( $(compgen -W '$(_parse_help "$1" -h)' -- "$cur") )
- [[ $COMPREPLY == *= ]] && compopt -o nospace
+ if [[ $cur == -* ]]; then
+ COMPREPLY=($(compgen -W '$(_parse_help "$1" -h)' -- "$cur"))
+ [[ ${COMPREPLY-} == *= ]] && compopt -o nospace
else
_filedir
fi
} &&
-complete -F _monodevelop monodevelop
+ complete -F _monodevelop monodevelop
# ex: filetype=sh