Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions functions/base16-3024.fish
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ function base16-3024 -d "3024"
function put_template; printf '\033Ptmux;\033\033]4;%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_var; printf '\033Ptmux;\033\033]%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_custom; printf '\033Ptmux;\033\033]%s%s\033\033\\\033\\' $argv; end;
else if string match 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
else if string match -q 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
# GNU screen (screen, screen-256color, screen-256color-bce)
function put_template; printf '\033P\033]4;%d;rgb:%s\007\033\\' $argv; end;
function put_template_var; printf '\033P\033]%d;rgb:%s\007\033\\' $argv; end;
function put_template_custom; printf '\033P\033]%s%s\007\033\\' $argv; end;
else if string match 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
else if string match -q 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
function put_template; test $argv[1] -lt 16 && printf "\e]P%x%s" $argv[1] (echo $argv[2] | sed 's/\///g'); end;
function put_template_var; true; end;
function put_template_custom; true; end;
Expand Down Expand Up @@ -89,7 +89,7 @@ function base16-3024 -d "3024"
put_template_var 10 $colorfg
if [ "$BASE16_SHELL_SET_BACKGROUND" != false ]
put_template_var 11 $colorbg
if string match 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
if string match -q 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
put_template_var 708 $colorbg # internal border (rxvt)
end
end
Expand Down
6 changes: 3 additions & 3 deletions functions/base16-apathy.fish
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ function base16-apathy -d "Apathy"
function put_template; printf '\033Ptmux;\033\033]4;%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_var; printf '\033Ptmux;\033\033]%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_custom; printf '\033Ptmux;\033\033]%s%s\033\033\\\033\\' $argv; end;
else if string match 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
else if string match -q 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
# GNU screen (screen, screen-256color, screen-256color-bce)
function put_template; printf '\033P\033]4;%d;rgb:%s\007\033\\' $argv; end;
function put_template_var; printf '\033P\033]%d;rgb:%s\007\033\\' $argv; end;
function put_template_custom; printf '\033P\033]%s%s\007\033\\' $argv; end;
else if string match 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
else if string match -q 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
function put_template; test $argv[1] -lt 16 && printf "\e]P%x%s" $argv[1] (echo $argv[2] | sed 's/\///g'); end;
function put_template_var; true; end;
function put_template_custom; true; end;
Expand Down Expand Up @@ -89,7 +89,7 @@ function base16-apathy -d "Apathy"
put_template_var 10 $colorfg
if [ "$BASE16_SHELL_SET_BACKGROUND" != false ]
put_template_var 11 $colorbg
if string match 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
if string match -q 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
put_template_var 708 $colorbg # internal border (rxvt)
end
end
Expand Down
6 changes: 3 additions & 3 deletions functions/base16-apprentice.fish
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ function base16-apprentice -d "Apprentice"
function put_template; printf '\033Ptmux;\033\033]4;%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_var; printf '\033Ptmux;\033\033]%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_custom; printf '\033Ptmux;\033\033]%s%s\033\033\\\033\\' $argv; end;
else if string match 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
else if string match -q 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
# GNU screen (screen, screen-256color, screen-256color-bce)
function put_template; printf '\033P\033]4;%d;rgb:%s\007\033\\' $argv; end;
function put_template_var; printf '\033P\033]%d;rgb:%s\007\033\\' $argv; end;
function put_template_custom; printf '\033P\033]%s%s\007\033\\' $argv; end;
else if string match 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
else if string match -q 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
function put_template; test $argv[1] -lt 16 && printf "\e]P%x%s" $argv[1] (echo $argv[2] | sed 's/\///g'); end;
function put_template_var; true; end;
function put_template_custom; true; end;
Expand Down Expand Up @@ -89,7 +89,7 @@ function base16-apprentice -d "Apprentice"
put_template_var 10 $colorfg
if [ "$BASE16_SHELL_SET_BACKGROUND" != false ]
put_template_var 11 $colorbg
if string match 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
if string match -q 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
put_template_var 708 $colorbg # internal border (rxvt)
end
end
Expand Down
6 changes: 3 additions & 3 deletions functions/base16-ashes.fish
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ function base16-ashes -d "Ashes"
function put_template; printf '\033Ptmux;\033\033]4;%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_var; printf '\033Ptmux;\033\033]%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_custom; printf '\033Ptmux;\033\033]%s%s\033\033\\\033\\' $argv; end;
else if string match 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
else if string match -q 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
# GNU screen (screen, screen-256color, screen-256color-bce)
function put_template; printf '\033P\033]4;%d;rgb:%s\007\033\\' $argv; end;
function put_template_var; printf '\033P\033]%d;rgb:%s\007\033\\' $argv; end;
function put_template_custom; printf '\033P\033]%s%s\007\033\\' $argv; end;
else if string match 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
else if string match -q 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
function put_template; test $argv[1] -lt 16 && printf "\e]P%x%s" $argv[1] (echo $argv[2] | sed 's/\///g'); end;
function put_template_var; true; end;
function put_template_custom; true; end;
Expand Down Expand Up @@ -89,7 +89,7 @@ function base16-ashes -d "Ashes"
put_template_var 10 $colorfg
if [ "$BASE16_SHELL_SET_BACKGROUND" != false ]
put_template_var 11 $colorbg
if string match 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
if string match -q 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
put_template_var 708 $colorbg # internal border (rxvt)
end
end
Expand Down
6 changes: 3 additions & 3 deletions functions/base16-atelier-cave-light.fish
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ function base16-atelier-cave-light -d "Atelier Cave Light"
function put_template; printf '\033Ptmux;\033\033]4;%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_var; printf '\033Ptmux;\033\033]%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_custom; printf '\033Ptmux;\033\033]%s%s\033\033\\\033\\' $argv; end;
else if string match 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
else if string match -q 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
# GNU screen (screen, screen-256color, screen-256color-bce)
function put_template; printf '\033P\033]4;%d;rgb:%s\007\033\\' $argv; end;
function put_template_var; printf '\033P\033]%d;rgb:%s\007\033\\' $argv; end;
function put_template_custom; printf '\033P\033]%s%s\007\033\\' $argv; end;
else if string match 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
else if string match -q 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
function put_template; test $argv[1] -lt 16 && printf "\e]P%x%s" $argv[1] (echo $argv[2] | sed 's/\///g'); end;
function put_template_var; true; end;
function put_template_custom; true; end;
Expand Down Expand Up @@ -89,7 +89,7 @@ function base16-atelier-cave-light -d "Atelier Cave Light"
put_template_var 10 $colorfg
if [ "$BASE16_SHELL_SET_BACKGROUND" != false ]
put_template_var 11 $colorbg
if string match 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
if string match -q 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
put_template_var 708 $colorbg # internal border (rxvt)
end
end
Expand Down
6 changes: 3 additions & 3 deletions functions/base16-atelier-cave.fish
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ function base16-atelier-cave -d "Atelier Cave"
function put_template; printf '\033Ptmux;\033\033]4;%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_var; printf '\033Ptmux;\033\033]%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_custom; printf '\033Ptmux;\033\033]%s%s\033\033\\\033\\' $argv; end;
else if string match 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
else if string match -q 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
# GNU screen (screen, screen-256color, screen-256color-bce)
function put_template; printf '\033P\033]4;%d;rgb:%s\007\033\\' $argv; end;
function put_template_var; printf '\033P\033]%d;rgb:%s\007\033\\' $argv; end;
function put_template_custom; printf '\033P\033]%s%s\007\033\\' $argv; end;
else if string match 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
else if string match -q 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
function put_template; test $argv[1] -lt 16 && printf "\e]P%x%s" $argv[1] (echo $argv[2] | sed 's/\///g'); end;
function put_template_var; true; end;
function put_template_custom; true; end;
Expand Down Expand Up @@ -89,7 +89,7 @@ function base16-atelier-cave -d "Atelier Cave"
put_template_var 10 $colorfg
if [ "$BASE16_SHELL_SET_BACKGROUND" != false ]
put_template_var 11 $colorbg
if string match 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
if string match -q 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
put_template_var 708 $colorbg # internal border (rxvt)
end
end
Expand Down
6 changes: 3 additions & 3 deletions functions/base16-atelier-dune-light.fish
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ function base16-atelier-dune-light -d "Atelier Dune Light"
function put_template; printf '\033Ptmux;\033\033]4;%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_var; printf '\033Ptmux;\033\033]%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_custom; printf '\033Ptmux;\033\033]%s%s\033\033\\\033\\' $argv; end;
else if string match 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
else if string match -q 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
# GNU screen (screen, screen-256color, screen-256color-bce)
function put_template; printf '\033P\033]4;%d;rgb:%s\007\033\\' $argv; end;
function put_template_var; printf '\033P\033]%d;rgb:%s\007\033\\' $argv; end;
function put_template_custom; printf '\033P\033]%s%s\007\033\\' $argv; end;
else if string match 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
else if string match -q 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
function put_template; test $argv[1] -lt 16 && printf "\e]P%x%s" $argv[1] (echo $argv[2] | sed 's/\///g'); end;
function put_template_var; true; end;
function put_template_custom; true; end;
Expand Down Expand Up @@ -89,7 +89,7 @@ function base16-atelier-dune-light -d "Atelier Dune Light"
put_template_var 10 $colorfg
if [ "$BASE16_SHELL_SET_BACKGROUND" != false ]
put_template_var 11 $colorbg
if string match 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
if string match -q 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
put_template_var 708 $colorbg # internal border (rxvt)
end
end
Expand Down
6 changes: 3 additions & 3 deletions functions/base16-atelier-dune.fish
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ function base16-atelier-dune -d "Atelier Dune"
function put_template; printf '\033Ptmux;\033\033]4;%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_var; printf '\033Ptmux;\033\033]%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_custom; printf '\033Ptmux;\033\033]%s%s\033\033\\\033\\' $argv; end;
else if string match 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
else if string match -q 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
# GNU screen (screen, screen-256color, screen-256color-bce)
function put_template; printf '\033P\033]4;%d;rgb:%s\007\033\\' $argv; end;
function put_template_var; printf '\033P\033]%d;rgb:%s\007\033\\' $argv; end;
function put_template_custom; printf '\033P\033]%s%s\007\033\\' $argv; end;
else if string match 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
else if string match -q 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
function put_template; test $argv[1] -lt 16 && printf "\e]P%x%s" $argv[1] (echo $argv[2] | sed 's/\///g'); end;
function put_template_var; true; end;
function put_template_custom; true; end;
Expand Down Expand Up @@ -89,7 +89,7 @@ function base16-atelier-dune -d "Atelier Dune"
put_template_var 10 $colorfg
if [ "$BASE16_SHELL_SET_BACKGROUND" != false ]
put_template_var 11 $colorbg
if string match 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
if string match -q 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
put_template_var 708 $colorbg # internal border (rxvt)
end
end
Expand Down
6 changes: 3 additions & 3 deletions functions/base16-atelier-estuary-light.fish
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ function base16-atelier-estuary-light -d "Atelier Estuary Light"
function put_template; printf '\033Ptmux;\033\033]4;%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_var; printf '\033Ptmux;\033\033]%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_custom; printf '\033Ptmux;\033\033]%s%s\033\033\\\033\\' $argv; end;
else if string match 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
else if string match -q 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
# GNU screen (screen, screen-256color, screen-256color-bce)
function put_template; printf '\033P\033]4;%d;rgb:%s\007\033\\' $argv; end;
function put_template_var; printf '\033P\033]%d;rgb:%s\007\033\\' $argv; end;
function put_template_custom; printf '\033P\033]%s%s\007\033\\' $argv; end;
else if string match 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
else if string match -q 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
function put_template; test $argv[1] -lt 16 && printf "\e]P%x%s" $argv[1] (echo $argv[2] | sed 's/\///g'); end;
function put_template_var; true; end;
function put_template_custom; true; end;
Expand Down Expand Up @@ -89,7 +89,7 @@ function base16-atelier-estuary-light -d "Atelier Estuary Light"
put_template_var 10 $colorfg
if [ "$BASE16_SHELL_SET_BACKGROUND" != false ]
put_template_var 11 $colorbg
if string match 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
if string match -q 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
put_template_var 708 $colorbg # internal border (rxvt)
end
end
Expand Down
6 changes: 3 additions & 3 deletions functions/base16-atelier-estuary.fish
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ function base16-atelier-estuary -d "Atelier Estuary"
function put_template; printf '\033Ptmux;\033\033]4;%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_var; printf '\033Ptmux;\033\033]%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_custom; printf '\033Ptmux;\033\033]%s%s\033\033\\\033\\' $argv; end;
else if string match 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
else if string match -q 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
# GNU screen (screen, screen-256color, screen-256color-bce)
function put_template; printf '\033P\033]4;%d;rgb:%s\007\033\\' $argv; end;
function put_template_var; printf '\033P\033]%d;rgb:%s\007\033\\' $argv; end;
function put_template_custom; printf '\033P\033]%s%s\007\033\\' $argv; end;
else if string match 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
else if string match -q 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
function put_template; test $argv[1] -lt 16 && printf "\e]P%x%s" $argv[1] (echo $argv[2] | sed 's/\///g'); end;
function put_template_var; true; end;
function put_template_custom; true; end;
Expand Down Expand Up @@ -89,7 +89,7 @@ function base16-atelier-estuary -d "Atelier Estuary"
put_template_var 10 $colorfg
if [ "$BASE16_SHELL_SET_BACKGROUND" != false ]
put_template_var 11 $colorbg
if string match 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
if string match -q 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
put_template_var 708 $colorbg # internal border (rxvt)
end
end
Expand Down
6 changes: 3 additions & 3 deletions functions/base16-atelier-forest-light.fish
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ function base16-atelier-forest-light -d "Atelier Forest Light"
function put_template; printf '\033Ptmux;\033\033]4;%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_var; printf '\033Ptmux;\033\033]%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_custom; printf '\033Ptmux;\033\033]%s%s\033\033\\\033\\' $argv; end;
else if string match 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
else if string match -q 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
# GNU screen (screen, screen-256color, screen-256color-bce)
function put_template; printf '\033P\033]4;%d;rgb:%s\007\033\\' $argv; end;
function put_template_var; printf '\033P\033]%d;rgb:%s\007\033\\' $argv; end;
function put_template_custom; printf '\033P\033]%s%s\007\033\\' $argv; end;
else if string match 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
else if string match -q 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
function put_template; test $argv[1] -lt 16 && printf "\e]P%x%s" $argv[1] (echo $argv[2] | sed 's/\///g'); end;
function put_template_var; true; end;
function put_template_custom; true; end;
Expand Down Expand Up @@ -89,7 +89,7 @@ function base16-atelier-forest-light -d "Atelier Forest Light"
put_template_var 10 $colorfg
if [ "$BASE16_SHELL_SET_BACKGROUND" != false ]
put_template_var 11 $colorbg
if string match 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
if string match -q 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
put_template_var 708 $colorbg # internal border (rxvt)
end
end
Expand Down
6 changes: 3 additions & 3 deletions functions/base16-atelier-forest.fish
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ function base16-atelier-forest -d "Atelier Forest"
function put_template; printf '\033Ptmux;\033\033]4;%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_var; printf '\033Ptmux;\033\033]%d;rgb:%s\033\033\\\033\\' $argv; end;
function put_template_custom; printf '\033Ptmux;\033\033]%s%s\033\033\\\033\\' $argv; end;
else if string match 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
else if string match -q 'screen*' $TERM # [ "${TERM%%[-.]*}" = "screen" ]
# GNU screen (screen, screen-256color, screen-256color-bce)
function put_template; printf '\033P\033]4;%d;rgb:%s\007\033\\' $argv; end;
function put_template_var; printf '\033P\033]%d;rgb:%s\007\033\\' $argv; end;
function put_template_custom; printf '\033P\033]%s%s\007\033\\' $argv; end;
else if string match 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
else if string match -q 'linux*' $TERM # [ "${TERM%%-*}" = "linux" ]
function put_template; test $argv[1] -lt 16 && printf "\e]P%x%s" $argv[1] (echo $argv[2] | sed 's/\///g'); end;
function put_template_var; true; end;
function put_template_custom; true; end;
Expand Down Expand Up @@ -89,7 +89,7 @@ function base16-atelier-forest -d "Atelier Forest"
put_template_var 10 $colorfg
if [ "$BASE16_SHELL_SET_BACKGROUND" != false ]
put_template_var 11 $colorbg
if string match 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
if string match -q 'rxvt*' $TERM # [ "${TERM%%-*}" = "rxvt" ]
put_template_var 708 $colorbg # internal border (rxvt)
end
end
Expand Down
Loading