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,10 +51,13 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.fish;
|
package = pkgs.fish;
|
||||||
|
|
||||||
|
# TODO: unify into single if
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
if test -z $INSIDE_EMACS ;
|
if test -z $INSIDE_EMACS ;
|
||||||
|
if test $TERM != linux ;
|
||||||
eval (${pkgs.zellij}/bin/zellij setup --generate-auto-start fish | string collect)
|
eval (${pkgs.zellij}/bin/zellij setup --generate-auto-start fish | string collect)
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
any-nix-shell fish --info-right | source
|
any-nix-shell fish --info-right | source
|
||||||
function starship_transient_rprompt_func
|
function starship_transient_rprompt_func
|
||||||
|
|
Loading…
Add table
Reference in a new issue