mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 21:44:11 +01:00
18 lines
737 B
Plaintext
18 lines
737 B
Plaintext
#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'
|