fish: fix base16-fish causing startup issues with tmux (#503)

* fish: fix base16-fish causing startup issues with tmux

Closes #488

Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
This commit is contained in:
Donovan Glover 2024-08-19 18:12:23 +00:00 committed by GitHub
parent 6858d08ed0
commit 94d70292d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,5 +6,9 @@ let
};
in ''
source ${theme}
base16-${config.lib.stylix.colors.slug}
# See https://github.com/tomyun/base16-fish/issues/7 for why this condition exists
if test -n "$base16_theme" && status --is-interactive && test -z "$TMUX"
base16-${config.lib.stylix.colors.slug}
end
''