mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 20:31:19 -03:00
Allow overriding fish_term24bit on launch
(cherry picked from commit ba1008b750)
This commit is contained in:
@@ -27,7 +27,8 @@ if status --is-interactive
|
|||||||
or test "$VTE_VERSION" -ge 3600 # Should be all gtk3-vte-based terms after version 3.6.0.0
|
or test "$VTE_VERSION" -ge 3600 # Should be all gtk3-vte-based terms after version 3.6.0.0
|
||||||
or test "$COLORTERM" = truecolor -o "$COLORTERM" = 24bit # slang expects this
|
or test "$COLORTERM" = truecolor -o "$COLORTERM" = 24bit # slang expects this
|
||||||
end
|
end
|
||||||
set -g fish_term24bit 1
|
# Only set it if it isn't to allow override by setting to 0
|
||||||
|
set -q fish_term24bit; or set -g fish_term24bit 1
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
# Hook up the default as the principal command_not_found handler
|
# Hook up the default as the principal command_not_found handler
|
||||||
|
|||||||
Reference in New Issue
Block a user