mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 21:18:53 +00:00
Allow overriding fish_term24bit on launch
(cherry picked from commit ba1008b750
)
This commit is contained in:
parent
8d3eae0d76
commit
e7599fd18c
1 changed files with 2 additions and 1 deletions
|
@ -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 "$COLORTERM" = truecolor -o "$COLORTERM" = 24bit # slang expects this
|
||||
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
|
||||
else
|
||||
# Hook up the default as the principal command_not_found handler
|
||||
|
|
Loading…
Reference in a new issue