Run fish_indent on all files

This commit is contained in:
Jason Nader 2020-04-14 23:53:05 +09:00 committed by Fabian Homborg
parent 8d20748f4a
commit 85a8deabe9
3 changed files with 3 additions and 3 deletions

View file

@ -3,5 +3,5 @@ function __fish_openssl_subcommand_options --description "Print options for open
openssl list -options $cmd[2] | string replace -r -- '^(\S*)\s*.*' '-$1' openssl list -options $cmd[2] | string replace -r -- '^(\S*)\s*.*' '-$1'
end end
complete -c openssl -n '__fish_use_subcommand' -x -a "(openssl list -1 -commands -cipher-commands -digest-commands)" complete -c openssl -n __fish_use_subcommand -x -a "(openssl list -1 -commands -cipher-commands -digest-commands)"
complete -c openssl -n 'not __fish_use_subcommand && string match -qr -- "^-" (commandline -ct)' -a "(__fish_openssl_subcommand_options)" complete -c openssl -n 'not __fish_use_subcommand && string match -qr -- "^-" (commandline -ct)' -a "(__fish_openssl_subcommand_options)"

View file

@ -10,7 +10,7 @@ if test (uname) = Darwin
# If this is fixed in later versions uncomment the second check. # If this is fixed in later versions uncomment the second check.
if test "$darwin_version[1]" = 19 # -a "$darwin_version[2]" -le 3 if test "$darwin_version[1]" = 19 # -a "$darwin_version[2]" -le 3
set -l apropos (command -s apropos) set -l apropos (command -s apropos)
if test "$apropos" = "/usr/bin/apropos" if test "$apropos" = /usr/bin/apropos
function __fish_complete_man function __fish_complete_man
end end
# (remember: exit when `source`ing only exits the file, not the shell) # (remember: exit when `source`ing only exits the file, not the shell)