mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 13:57:17 +08:00
Run fish_indent on completions
This commit is contained in:
parent
5d03ca9de0
commit
fed0e0833d
|
@ -1,25 +1,25 @@
|
|||
# completions for Python pkginfo
|
||||
if pkginfo --help | string match -qr 'Python'
|
||||
complete -f -c pkginfo -s h -l help -d 'Print help'
|
||||
complete -x -c pkginfo -s m -l metadata-version -d 'Override metadata version'
|
||||
complete -x -c pkginfo -s f -l field -d 'Specify an output field (repeatable)'
|
||||
complete -x -c pkginfo -s d -l download-url-prefix -d 'Download URL prefix'
|
||||
complete -f -c pkginfo -l simple -d 'Output as simple key-value pairs'
|
||||
complete -f -c pkginfo -s s -l skip -d 'Skip missing values in simple output'
|
||||
complete -f -c pkginfo -s S -l no-skip -d 'Do not skip missing values in simple output'
|
||||
complete -f -c pkginfo -l single -d 'Output delimited values'
|
||||
complete -x -c pkginfo -l item-delim -d 'Delimiter for fields in single-line output'
|
||||
complete -x -c pkginfo -l sequence-delim -d 'Delimiter for multi-valued fields'
|
||||
complete -f -c pkginfo -l csv -d 'Output as CSV'
|
||||
complete -f -c pkginfo -l ini -d 'Output as INI'
|
||||
complete -f -c pkginfo -l json -d 'Output as JSON'
|
||||
# completions for CRUX Linux' pkginfo
|
||||
complete -f -c pkginfo -s h -l help -d 'Print help'
|
||||
complete -x -c pkginfo -s m -l metadata-version -d 'Override metadata version'
|
||||
complete -x -c pkginfo -s f -l field -d 'Specify an output field (repeatable)'
|
||||
complete -x -c pkginfo -s d -l download-url-prefix -d 'Download URL prefix'
|
||||
complete -f -c pkginfo -l simple -d 'Output as simple key-value pairs'
|
||||
complete -f -c pkginfo -s s -l skip -d 'Skip missing values in simple output'
|
||||
complete -f -c pkginfo -s S -l no-skip -d 'Do not skip missing values in simple output'
|
||||
complete -f -c pkginfo -l single -d 'Output delimited values'
|
||||
complete -x -c pkginfo -l item-delim -d 'Delimiter for fields in single-line output'
|
||||
complete -x -c pkginfo -l sequence-delim -d 'Delimiter for multi-valued fields'
|
||||
complete -f -c pkginfo -l csv -d 'Output as CSV'
|
||||
complete -f -c pkginfo -l ini -d 'Output as INI'
|
||||
complete -f -c pkginfo -l json -d 'Output as JSON'
|
||||
# completions for CRUX Linux' pkginfo
|
||||
else
|
||||
complete -f -c pkginfo -o i -l installed -d 'List installed packages'
|
||||
complete -f -c pkginfo -o l -l list -a '(__fish_crux_packages)' -r -d 'Package whose files to list'
|
||||
complete -f -c pkginfo -o o -l owner -d 'Print the package owning file matching pattern'
|
||||
complete -f -c pkginfo -o f -l footprint -d 'Print footprint for file'
|
||||
complete -f -c pkginfo -o r -l root -d 'Specify alternative installation root'
|
||||
complete -f -c pkginfo -o v -l version -d 'Print version of pkgutils'
|
||||
complete -f -c pkginfo -o h -l help -d 'Print help'
|
||||
complete -f -c pkginfo -o i -l installed -d 'List installed packages'
|
||||
complete -f -c pkginfo -o l -l list -a '(__fish_crux_packages)' -r -d 'Package whose files to list'
|
||||
complete -f -c pkginfo -o o -l owner -d 'Print the package owning file matching pattern'
|
||||
complete -f -c pkginfo -o f -l footprint -d 'Print footprint for file'
|
||||
complete -f -c pkginfo -o r -l root -d 'Specify alternative installation root'
|
||||
complete -f -c pkginfo -o v -l version -d 'Print version of pkgutils'
|
||||
complete -f -c pkginfo -o h -l help -d 'Print help'
|
||||
end
|
||||
|
|
|
@ -17,35 +17,35 @@ complete -c telnet -s n -x -d "Log to tracefile"
|
|||
complete -c telnet -s r -d "User interface similar to rlogin"
|
||||
|
||||
switch (uname -s)
|
||||
case FreeBSD NetBSD Linux
|
||||
complete -c telnet -s d -d "Sets debug mode"
|
||||
case FreeBSD NetBSD Linux
|
||||
complete -c telnet -s d -d "Sets debug mode"
|
||||
end
|
||||
|
||||
switch (uname -s)
|
||||
case FreeBSD NetBSD
|
||||
complete -c telnet -s F -s f -d "Forward local credentials if using Kerberos V5 authentication"
|
||||
complete -c telnet -s S -x -d "Sets IP TOS"
|
||||
complete -c telnet -s x -d "Turn on encryption"
|
||||
complete -c telnet -s k -x -d "Use Kerberos realm for authentication"
|
||||
complete -c telnet -s N -d "Prevent IP address to name lookup"
|
||||
complete -c telnet -s X -x -d "Disables specified type of authentication"
|
||||
case FreeBSD NetBSD
|
||||
complete -c telnet -s F -s f -d "Forward local credentials if using Kerberos V5 authentication"
|
||||
complete -c telnet -s S -x -d "Sets IP TOS"
|
||||
complete -c telnet -s x -d "Turn on encryption"
|
||||
complete -c telnet -s k -x -d "Use Kerberos realm for authentication"
|
||||
complete -c telnet -s N -d "Prevent IP address to name lookup"
|
||||
complete -c telnet -s X -x -d "Disables specified type of authentication"
|
||||
end
|
||||
|
||||
switch (uname -s)
|
||||
case FreeBSD
|
||||
complete -c telnet -s y -d "Turn off encryption"
|
||||
complete -c telnet -s B -x -d "Set baudrate"
|
||||
complete -c telnet -s s -x -d "Set source IP address"
|
||||
complete -c telnet -s u -d "Force AF_UNIX addresses only"
|
||||
case NetBSD
|
||||
complete -c telnet -s P -x -d "Set IPsec policy specfication"
|
||||
case OpenBSD
|
||||
complete -c telnet -s 7 -d "Do not try to negotiate TELNET BINARY option"
|
||||
complete -c telnet -s V -x -d "Set routing table"
|
||||
complete -c telnet -s D -d "Disable rewriting of the DISPLAY var"
|
||||
complete -c telnet -s b -x -a "(__fish_print_addresses)" -d "Local address to bind to"
|
||||
case Linux
|
||||
complete -c telnet -s '?' -l help -d "Print help and exit"
|
||||
complete -c telnet -l usage -d "Print short usage and exit"
|
||||
complete -c telnet -s V -l version -d "Print program version"
|
||||
case FreeBSD
|
||||
complete -c telnet -s y -d "Turn off encryption"
|
||||
complete -c telnet -s B -x -d "Set baudrate"
|
||||
complete -c telnet -s s -x -d "Set source IP address"
|
||||
complete -c telnet -s u -d "Force AF_UNIX addresses only"
|
||||
case NetBSD
|
||||
complete -c telnet -s P -x -d "Set IPsec policy specfication"
|
||||
case OpenBSD
|
||||
complete -c telnet -s 7 -d "Do not try to negotiate TELNET BINARY option"
|
||||
complete -c telnet -s V -x -d "Set routing table"
|
||||
complete -c telnet -s D -d "Disable rewriting of the DISPLAY var"
|
||||
complete -c telnet -s b -x -a "(__fish_print_addresses)" -d "Local address to bind to"
|
||||
case Linux
|
||||
complete -c telnet -s '?' -l help -d "Print help and exit"
|
||||
complete -c telnet -l usage -d "Print short usage and exit"
|
||||
complete -c telnet -s V -l version -d "Print program version"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user