about summary refs log tree commit diff
path: root/Completion/User/_mount
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_mount')
-rw-r--r--Completion/User/_mount6
1 files changed, 4 insertions, 2 deletions
diff --git a/Completion/User/_mount b/Completion/User/_mount
index e92f56339..40bc3b4ea 100644
--- a/Completion/User/_mount
+++ b/Completion/User/_mount
@@ -191,7 +191,7 @@ if [[ "$words[1]" = mount ]]; then
       '-u[remount file system]' \
       ':dev or dir:->devordir' \
       ':mount point:_files -/'
-
+    )
     fss=( advfs ufs nfs mfs cdfs )
     ;;
   *)
@@ -204,7 +204,9 @@ if [[ "$words[1]" = mount ]]; then
       '-f[fake mount]' \
       ':dev or dir:->devordir' \
       ':mount point:_files -/'
+    )
     fss=( ufs )
+    ;;
   esac
 
   _arguments "$args[@]" && ret=0
@@ -228,7 +230,7 @@ case "$state" in
 fstype)
   compset -P '*,'
   _description expl 'file system type'
-  compadd "$expl[@]" -qS, -M 'L:no=' - "$fss[@]" && ret=0
+  compadd "$expl[@]" -qS, -M 'L:|no=' - "$fss[@]" && ret=0
   ;;
 fsopt)
   eval 'tmp=(' '"$_fs_'${(s:,:)^${options[-t]:-${deffs}}}'[@]"' ')'