Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _fuser



This should be made more intelligent about tcp/udp namespaces instead of
files.

Index: Completion/Unix/Command/_fuser
===================================================================
RCS file: Completion/Unix/Command/_fuser
diff -N Completion/Unix/Command/_fuser
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Completion/Unix/Command/_fuser	7 Mar 2005 02:45:25 -0000
@@ -0,0 +1,17 @@
+#compdef fuser
+
+_arguments \
+       '(-s)-a[show all files specified on the command line]' \
+       {-c,-m}'[list all processes accessing files on the filesystem specified by name]' \
+       '-k[kill processes accessing the file]' \
+       '-i[ask for confirmation before killing]' \
+       '-l[list all known signal names]' \
+       '-n[select name space]:namespace:(file udp tcp)' \
+       '(-a)-s[silent operation]' \
+       '-signal[send alternate signal with -k]:signal:_signals' \
+       '-u[append the user name of the process owner to each PID]' \
+       '-v[verbose mode]' \
+       '-V[display version information]' \
+       '-4[search only for IPv4 sockets]' \
+       '-6[search only for IPv6 sockets]' \
+       ':name:_files'



Messages sorted by: Reverse Date, Date, Thread, Author