summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2005-03-07 02:52:30 +0000
committerClint Adams <clint@users.sourceforge.net>2005-03-07 02:52:30 +0000
commitac4f19bf37c39b36cbe0aeb0372f20408bf64a51 (patch)
tree4d0c3a423d3011634eb70a8fdb504c2d2eb44063 /Completion
parente2ace8f5e4c70a4edef5c0bdc1be18935c19feb9 (diff)
downloadzsh-ac4f19bf37c39b36cbe0aeb0372f20408bf64a51.tar.gz
zsh-ac4f19bf37c39b36cbe0aeb0372f20408bf64a51.tar.xz
zsh-ac4f19bf37c39b36cbe0aeb0372f20408bf64a51.zip
* 20938: Completion/Unix/Command/_fuser: completion for fuser command.
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_fuser17
1 files changed, 17 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_fuser b/Completion/Unix/Command/_fuser
new file mode 100644
index 000000000..db7695d9f
--- /dev/null
+++ b/Completion/Unix/Command/_fuser
@@ -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'