fork/fish-shell

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

Fabian HomborgReformat completion scriptsce245704d

master
3.1 KiB64 linesraw
1# Completions for the eix tool
2# http://dev.croup.de/proj/eix and http://sourceforge.net/projects/eix/
3
4# Author: Tassilo Horn <tassilo@member.fsf.org>
5
6##########
7# EIX
8#####
9# Global options
10###
11# exclusive options
12complete -c eix -s h -l help -d "Show a help screen and exit"
13complete -c eix -s V -l version -d "Show version and exit"
14complete -c eix -l dump -d "Dump variables to stdout"
15complete -c eix -l dump-defaults -d "Dump default values of variables to stdout"
16###
17# special options
18complete -c eix -s t -l test-non-matching -d "Print non-matching entries first"
19complete -c eix -s Q -l quick -d "Don't read unguessable slots of installed packages (toggle)"
20complete -c eix -l care -d "Always read slots of installed packages"
21###
22# ootput options
23complete -c eix -s q -l quiet -d "(no) output (toggle)"
24complete -c eix -s n -l nocolor -d "Don't use ANSI color codes"
25complete -c eix -s F -l force-color -d "Force colorful output"
26complete -c eix -s c -l compact -d "Compact search results (toggle)"
27complete -c eix -s v -l verbose -d "Verbose search results (toggle)"
28complete -c eix -s x -l versionsort -d "Sort output by slots/versions (toggle)"
29complete -c eix -s l -l versionlines -d "Print available versions line-by-line (toggle)"
30complete -c eix -l format -d "Format string for normal output"
31complete -c eix -l format-compact -d "Format string for compact output"
32complete -c eix -l format-verbose -d "Format string for verbose output"
33#####
34# Local options
35###
36# Miscellaneous
37complete -c eix -s I -l installed -d "Next expression only matches installed packages"
38complete -c eix -s i -l multi-installed -d "Match packages installed in several versions"
39complete -c eix -s d -l dup-packages -d "Match duplicated packages"
40complete -c eix -s D -l dup-versions -d "Match packages with duplicated versions"
41complete -c eix -s 1 -l slotted -d "Match packages with a nontrivial slot"
42complete -c eix -s 2 -l slots -d "Match packages with two different slots"
43complete -c eix -s u -l update -d "Match packages without best slotted version"
44complete -c eix -s o -l overlay -d "Match packages from overlays"
45complete -c eix -s T -l test-obsolete -d "Match packages with obsolete entries"
46complete -c eix -s ! -l not -d "Invert the expression (toggle)"
47complete -c eix -s '|' -l pipe -d "Use input from pipe of emerge -pv"
48###
49# Search Fields
50complete -c eix -s S -l description -d "Search the description field"
51complete -c eix -s A -l category-name -d "Search the category and name fields"
52complete -c eix -s C -l category -d "Search the category field"
53complete -c eix -s s -l name -d "Search the name field (default)"
54complete -c eix -s H -l homepage -d "Search the homepage field"
55complete -c eix -s L -l license -d "Search the license field"
56complete -c eix -s P -l provides -d "Search the provides field"
57###
58# Type of Pattern
59complete -c eix -s r -l regex -d "Pattern is a regexp (default)"
60complete -c eix -s e -l exact -d "Pattern is the exact string"
61complete -c eix -s p -l pattern -d "Pattern is a wildcards-pattern"
62complete -c eix -s f -l fuzzy -d "Use fuzzy-search with the given max. levenshtein-distance (default: 2)"
63#####
64##########