about summary refs log tree commit diff
path: root/Completion/Unix/Command/_fuser
blob: db7695d9f01cf8343e9124b5449448357ae081ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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'