diff options
-rw-r--r-- | user-profiles/zsh/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/user-profiles/zsh/default.nix b/user-profiles/zsh/default.nix index 88873c1a..daeb7e82 100644 --- a/user-profiles/zsh/default.nix +++ b/user-profiles/zsh/default.nix | |||
@@ -17,6 +17,13 @@ in { | |||
17 | src = pkgs.zsh-powerlevel10k; | 17 | src = pkgs.zsh-powerlevel10k; |
18 | } | 18 | } |
19 | ]; | 19 | ]; |
20 | initExtraFirst = '' | ||
21 | if [[ $TERM == "dumb" ]]; then | ||
22 | unsetopt zle | ||
23 | PS1='$ ' | ||
24 | return | ||
25 | fi | ||
26 | ''; | ||
20 | initExtraBeforeCompInit = '' | 27 | initExtraBeforeCompInit = '' |
21 | source "${cfg.home.homeDirectory}/${p10kZsh}" | 28 | source "${cfg.home.homeDirectory}/${p10kZsh}" |
22 | ''; | 29 | ''; |