Do not init into zellij in tty terminals
This commit is contained in:
parent
3f315df7da
commit
fd70eb041a
1 changed files with 4 additions and 1 deletions
|
@ -51,9 +51,12 @@ in
|
|||
enable = true;
|
||||
package = pkgs.fish;
|
||||
|
||||
# TODO: unify into single if
|
||||
interactiveShellInit = ''
|
||||
if test -z $INSIDE_EMACS ;
|
||||
eval (${pkgs.zellij}/bin/zellij setup --generate-auto-start fish | string collect)
|
||||
if test $TERM != linux ;
|
||||
eval (${pkgs.zellij}/bin/zellij setup --generate-auto-start fish | string collect)
|
||||
end
|
||||
end
|
||||
|
||||
any-nix-shell fish --info-right | source
|
||||
|
|
Loading…
Add table
Reference in a new issue