fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Johannes Altmanninger__fish_complete_list: strip "--foo=" prefix from replacing completions320ebb685

master
1.4 KiB19 linesraw
1complete -c lsof -s '?' -s h -d 'Print help and exit'
2complete -c lsof -s a -d 'Causes list selections to be ANDed'
3complete -c lsof -s A -r -d 'Use alternative name list file'
4complete -c lsof -s b -d 'Avoid kernel functions that might block: lstat, readlink, stat'
5complete -c lsof -s c -d 'Select the listing for processes, whose command begins with string (^ - negate)' -xa '(__fish_complete_proc)'
6complete -c lsof -s C -d 'Do not report any pathname component from kernel\'s namecache'
7complete -c lsof -s d -r -d 'specifies a list of file descriptors to exclude or include in the output listing'
8complete -c lsof -s D -d 'use of device cache file' -xa '\?\t"report device cache file paths"
9b\t"build the device cache file"
10i\t"ignore the device cache file"
11r\t"read the device cache file"
12u\t"read and update the device cache file"'
13
14complete -c lsof -s g -d 'select by group (^ - negates)' -xa "(__fish_stripprefix='^-\w*g' __fish_complete_list , __fish_complete_groups)"
15complete -c lsof -s l -d 'Convert UIDs to login names'
16complete -c lsof -s p -d 'Select or exclude processes by pid' -xa "(__fish_stripprefix='^-\w*p' __fish_complete_list , __fish_complete_pids)"
17complete -c lsof -s R -d 'Print PPID'
18complete -c lsof -s t -d 'Produce terse output (pids only, no header)'
19complete -c lsof -s u -d 'select by user (^ - negates)' -xa "(__fish_stripprefix='^-\w*u' __fish_complete_list , __fish_complete_users)"