mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-26 04:30:27 +01:00
* 20938: Completion/Unix/Command/_fuser: completion for fuser command.
This commit is contained in:
parent
e2ace8f5e4
commit
ac4f19bf37
2 changed files with 20 additions and 0 deletions
17
Completion/Unix/Command/_fuser
Normal file
17
Completion/Unix/Command/_fuser
Normal file
|
|
@ -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'
|
||||
Loading…
Add table
Add a link
Reference in a new issue