diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/Unix/Command/_fuser | 17 |
2 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index bcc3d9d4f..2a514b737 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-03-07 Clint Adams <clint@zsh.org> + * 20938: Completion/Unix/Command/_fuser: completion for fuser + command. + * 20937: Completion/Unix/Command/_fortune: completion for fortune command. 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' |