Lines 1-6
Link Here
|
1 |
--- Completion/Unix/Command/_mount |
1 |
--- Completion/Unix/Command/_mount.orig 2008-01-22 04:13:35.000000000 -0600 |
2 |
+++ Completion/Unix/Command/_mount |
2 |
+++ Completion/Unix/Command/_mount 2009-12-14 20:51:52.000000000 -0600 |
3 |
@@ -41,10 +41,10 @@ fi |
3 |
@@ -41,10 +41,11 @@ fi |
4 |
|
4 |
|
5 |
local curcontext="$curcontext" state line expl suf ret=1 |
5 |
local curcontext="$curcontext" state line expl suf ret=1 |
6 |
local args deffs=iso9660 tmp typeops=-t _nfs_access _fs_nfs _nfs_ufs \ |
6 |
local args deffs=iso9660 tmp typeops=-t _nfs_access _fs_nfs _nfs_ufs \ |
Lines 11-21
Link Here
|
11 |
+_fs_ufs _fs_efs _fs_cd9660 _fs_iso9660 _fs_cachefs _fs_s5fs _fs_tmpfs _fs_pcfs \ |
11 |
+_fs_ufs _fs_efs _fs_cd9660 _fs_iso9660 _fs_cachefs _fs_s5fs _fs_tmpfs _fs_pcfs \ |
12 |
+_fs_hsfs _fs_advfs _fs_cdfs _fs_affs _fs_ext2 _fs_fat _fs_ext3 _fs_msdos \ |
12 |
+_fs_hsfs _fs_advfs _fs_cdfs _fs_affs _fs_ext2 _fs_fat _fs_ext3 _fs_msdos \ |
13 |
+_fs_msdosfs _fs_umsdos _fs_vfat _fs_hpfs _fs_ntfs _fs_reiserfs _fs_smbfs \ |
13 |
+_fs_msdosfs _fs_umsdos _fs_vfat _fs_hpfs _fs_ntfs _fs_reiserfs _fs_smbfs \ |
14 |
+_fs_xfs _fs_std _fs_devfs _fs_fdesc _fs_kernfs _fs_linprocfs _fs_procfs |
14 |
+_fs_xfs _fs_std _fs_devfs _fs_fdesc _fs_kernfs _fs_linprocfs _fs_linsysfs \ |
|
|
15 |
+_fs_procfs |
15 |
|
16 |
|
16 |
typeset -A opt_args |
17 |
typeset -A opt_args |
17 |
|
18 |
|
18 |
@@ -527,7 +527,7 @@ if (( ! $+_fs_any )); then |
19 |
@@ -527,7 +528,7 @@ if (( ! $+_fs_any )); then |
19 |
'swidth[specify stripe width]:size' |
20 |
'swidth[specify stripe width]:size' |
20 |
) |
21 |
) |
21 |
;; |
22 |
;; |
Lines 24-30
Link Here
|
24 |
_fs_any=( |
25 |
_fs_any=( |
25 |
'(sync)async[do all I/O asynchronously]' |
26 |
'(sync)async[do all I/O asynchronously]' |
26 |
'current[use current options on already mounted file system]' |
27 |
'current[use current options on already mounted file system]' |
27 |
@@ -548,12 +548,12 @@ if (( ! $+_fs_any )); then |
28 |
@@ -548,12 +549,12 @@ if (( ! $+_fs_any )); then |
28 |
'update[change status of already mounted filesystem]' |
29 |
'update[change status of already mounted filesystem]' |
29 |
'union[cause the namespace at the mount point to appear as the union of the mounted filesystem and the existing directory]' |
30 |
'union[cause the namespace at the mount point to appear as the union of the mounted filesystem and the existing directory]' |
30 |
) |
31 |
) |
Lines 43-49
Link Here
|
43 |
) |
44 |
) |
44 |
_fs_std=( |
45 |
_fs_std=( |
45 |
"nodev[don't interpret devices]" |
46 |
"nodev[don't interpret devices]" |
46 |
@@ -571,7 +571,13 @@ if (( ! $+_fs_any )); then |
47 |
@@ -566,12 +567,19 @@ if (( ! $+_fs_any )); then |
|
|
48 |
_fs_fdesc=( "$_fs_std[@]" ) |
49 |
_fs_kernfs=( "$_fs_std[@]" ) |
50 |
_fs_linprocfs=( "$_fs_std[@]" ) |
51 |
+ _fs_linsysfs=( "$_fs_std[@]" ) |
52 |
_fs_procfs=( "$_fs_std[@]" ) |
53 |
_fs_msdos=( |
47 |
'shortnames[]' |
54 |
'shortnames[]' |
48 |
'longnames[]' |
55 |
'longnames[]' |
49 |
'nowin95[]' |
56 |
'nowin95[]' |
Lines 57-63
Link Here
|
57 |
;; |
64 |
;; |
58 |
esac |
65 |
esac |
59 |
fi |
66 |
fi |
60 |
@@ -682,7 +688,7 @@ if [[ "$service" = mount ]]; then |
67 |
@@ -682,7 +690,7 @@ if [[ "$service" = mount ]]; then |
61 |
deffs=hsfs |
68 |
deffs=hsfs |
62 |
typeops=-F |
69 |
typeops=-F |
63 |
;; |
70 |
;; |
Lines 66-72
Link Here
|
66 |
args=( -s |
73 |
args=( -s |
67 |
'(:)-a[mount all filesystems in fstab]' |
74 |
'(:)-a[mount all filesystems in fstab]' |
68 |
'-d[cause everything to be done except for the actual system call]' |
75 |
'-d[cause everything to be done except for the actual system call]' |
69 |
@@ -757,7 +763,7 @@ else |
76 |
@@ -757,7 +765,7 @@ else |
70 |
'*:dev or dir:->udevordir' |
77 |
'*:dev or dir:->udevordir' |
71 |
) |
78 |
) |
72 |
;; |
79 |
;; |
Lines 75-81
Link Here
|
75 |
args=( |
82 |
args=( |
76 |
'(*)-a[unmount all mounted file systems]' |
83 |
'(*)-a[unmount all mounted file systems]' |
77 |
'-A[unmount all mounted file systems except the root]' |
84 |
'-A[unmount all mounted file systems except the root]' |
78 |
@@ -819,7 +825,28 @@ devordir) |
85 |
@@ -819,7 +827,28 @@ devordir) |
79 |
fi |
86 |
fi |
80 |
|
87 |
|
81 |
case "$OSTYPE" in |
88 |
case "$OSTYPE" in |
Lines 105-111
Link Here
|
105 |
while read mline; do |
112 |
while read mline; do |
106 |
case $mline[(w)1] in |
113 |
case $mline[(w)1] in |
107 |
\#* ) |
114 |
\#* ) |
108 |
@@ -833,6 +860,16 @@ devordir) |
115 |
@@ -833,6 +862,16 @@ devordir) |
109 |
;; |
116 |
;; |
110 |
esac |
117 |
esac |
111 |
done < /etc/fstab |
118 |
done < /etc/fstab |
Lines 122-128
Link Here
|
122 |
|
129 |
|
123 |
_alternative \ |
130 |
_alternative \ |
124 |
'hosts:host:_hosts -S :' \ |
131 |
'hosts:host:_hosts -S :' \ |
125 |
@@ -859,6 +896,12 @@ udevordir) |
132 |
@@ -859,6 +898,12 @@ udevordir) |
126 |
dev_tmp=( "${(@)${(@)tmp%% *}:#none}" ) |
133 |
dev_tmp=( "${(@)${(@)tmp%% *}:#none}" ) |
127 |
mp_tmp=( "${(@)${(@)tmp#* }%% *}" ) |
134 |
mp_tmp=( "${(@)${(@)tmp#* }%% *}" ) |
128 |
;; |
135 |
;; |