Run fish_indent on share/**.fish

This commit is contained in:
Johannes Altmanninger 2021-08-01 18:40:56 +02:00
parent 3a375c2399
commit 1b20e75f19
7 changed files with 26 additions and 28 deletions

View File

@ -9,7 +9,7 @@ end
set -l sysver (uname -sr | string match -r "(Darwin) (\d\d)"\.)
if test $status -eq 0 -a (count $sysver) -eq 3
and test $sysver[2] = 'Darwin' -a $sysver[3] -ge 19
and test $sysver[2] = Darwin -a $sysver[3] -ge 19
set -l dir
if test -n "$XDG_CACHE_HOME"

View File

@ -1,5 +1,3 @@
function __fish_is_token_n --description 'Test if current token is on Nth place' --argument-names n
fish_is_nth_token $n
end

View File

@ -8,7 +8,7 @@ function __fish_make_completion_signals --description 'Make list of kill signals
# Just hardcode the signals.
set -l os (uname)
if string match -q 'CYGWIN*' -- $os
or string match -iq 'Msys' -- $os
or string match -iq Msys -- $os
set -a __kill_signals "1 HUP" "2 INT" "3 QUIT" "4 ILL" "5 TRAP" "6 ABRT" \
"6 IOT" "7 BUS" "8 FPE" "9 KILL" "10 USR1" "11 SEGV" \
"12 USR2" "13 PIPE" "14 ALRM" "15 TERM" "16 STKFLT" "17 CHLD" \