aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--share/config.fish3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/config.fish b/share/config.fish
index fa1a2628..35de799b 100644
--- a/share/config.fish
+++ b/share/config.fish
@@ -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