summaryrefslogtreecommitdiff
path: root/completions/fusermount
diff options
context:
space:
mode:
Diffstat (limited to 'completions/fusermount')
-rw-r--r--completions/fusermount10
1 files changed, 5 insertions, 5 deletions
diff --git a/completions/fusermount b/completions/fusermount
index c40c18ce..7e489225 100644
--- a/completions/fusermount
+++ b/completions/fusermount
@@ -10,19 +10,19 @@ _fusermount()
return
;;
-*u)
- COMPREPLY=( $(compgen -W "$(awk \
+ COMPREPLY=($(compgen -W "$(awk \
'{ if ($3 ~ /^fuse(\.|$)/) print $2 }' /etc/mtab \
- 2>/dev/null)" -- "$cur") )
+ 2>/dev/null)" -- "$cur"))
return
;;
esac
- if [[ "$cur" == -* ]]; then
- COMPREPLY=( $(compgen -W '$(_parse_help "$1" -h)' -- "$cur") )
+ if [[ $cur == -* ]]; then
+ COMPREPLY=($(compgen -W '$(_parse_help "$1" -h)' -- "$cur"))
else
_filedir -d
fi
} &&
-complete -F _fusermount fusermount
+ complete -F _fusermount fusermount
# ex: filetype=sh