From 24ae897664702b83bb04e337680937663edbfe8b Mon Sep 17 00:00:00 2001 From: KoenDR06 Date: Fri, 17 May 2024 15:13:29 +0200 Subject: [PATCH] Configured TTY Login so that it uses Bash on TTY --- pkgs/zsh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/zsh.nix b/pkgs/zsh.nix index ace5982..662b22f 100644 --- a/pkgs/zsh.nix +++ b/pkgs/zsh.nix @@ -22,6 +22,6 @@ theme = "agnoster"; }; - shellInit = "eval \"$(zoxide init zsh --cmd cd)\""; + shellInit = "if [[ $(tty) == \"/dev/tty\"* ]]; then; bash; fi; eval \"$(zoxide init zsh --cmd cd)\""; }; }