From 4de264f8276bf8eb95066eceb1fee81310fc0a00 Mon Sep 17 00:00:00 2001 From: Random936 Date: Sun, 7 Jul 2024 17:29:57 -0700 Subject: [PATCH] Added a 'dumb' zsh prompt for emacs tramp --- home/zsh.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/zsh.nix b/home/zsh.nix index 99da6e9..0f9f370 100644 --- a/home/zsh.nix +++ b/home/zsh.nix @@ -20,6 +20,10 @@ update-all = "update-conf && update-home"; }; + initExtraBeforeCompInit = '' + [[ $TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return + ''; + initExtra = '' export PATH=$PATH:~/.cargo/bin function .. { cd .. }