Skip to content

Commit

Permalink
fish: fix base16-fish causing startup issues with tmux (danth#503)
Browse files Browse the repository at this point in the history
* fish: fix base16-fish causing startup issues with tmux

Closes danth#488

Co-authored-by: Daniel Thwaites <[email protected]>
  • Loading branch information
donovanglover and danth authored Aug 19, 2024
1 parent 6858d08 commit 94d7029
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modules/fish/prompt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
''

0 comments on commit 94d7029

Please sign in to comment.