-
Notifications
You must be signed in to change notification settings - Fork 0
/
plocate.fish
34 lines (23 loc) · 1.01 KB
/
plocate.fish
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
complete -c plocate -f -s "b" -l "basename" \
-d "search only the file name portion of path names"
complete -c plocate -f -s "c" -l "count" \
-d "print number of matches instead of the matches"
complete -c plocate -f -s "d" -l "database" \
-d "(DBPATH) search for files in DBPATH"
complete -c plocate -f -s "i" \
-d "search case-insensitively"
complete -c plocate -f -l "ignore-case" \
-d "search case-insensitively"
complete -c plocate -f -s "l" -l "limit" \
-d "(LIMIT) stop after LIMIT matches"
complete -c plocate -f -s "0" -l "null" \
-d "delimit matches by NUL instead of newline"
complete -c plocate -f -s "N" -l "literal" \
-d "do not quote filenames, even if printing to a tty"
complete -c plocate -f -s "r" -l "regex" -d "interpret patterns as extended regexps (slow)"
complete -c plocate -f -s "w" -l "wholename" \
-d "search the entire path name (default; see -b)"
complete -c plocate -f -l "help" \
-d "print this help"
complete -c plocate -f -l "version" \
-d "print version information"