mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 23:24:39 +00:00
Add another test for Konsole
For some reason my current version doesn't have $KONSOLE_PROFILE_NAME anymore, it has $KONSOLE_VERSION. Urgh
This commit is contained in:
parent
fd90482c19
commit
713ceddf0b
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ if status --is-interactive
|
|||
and not string match -q -- 'eterm*' $TERM
|
||||
and begin
|
||||
set -q KONSOLE_PROFILE_NAME # KDE's konsole
|
||||
or test -n "$KONSOLE_VERSION" -a "$KONSOLE_VERSION" -ge "200400" # konsole, but new.
|
||||
or string match -q -- "*:*" $ITERM_SESSION_ID # Supporting versions of iTerm2 will include a colon here
|
||||
or string match -q -- "st-*" $TERM # suckless' st
|
||||
or test -n "$VTE_VERSION" -a "$VTE_VERSION" -ge 3600 # Should be all gtk3-vte-based terms after version 3.6.0.0
|
||||
|
|
Loading…
Reference in a new issue