zsh: Fix prompt issues with TRAMP
1 file changed, 6 insertions(+), 4 deletions(-)
jump to
M zsh/zshrc → zsh/zshrc
@@ -170,10 +170,12 @@ # Filename suffixes to ignore during completion (except after rm command) zstyle ':completion:*:*:(^rm):*:*files' ignored-patterns '*?.o' '*?.c~' '*?.old' '*?.pro' ## Prompt -autoload -U promptinit -promptinit - -prompt pure +if [[ $TERM != 'dumb' ]] +then + autoload -U promptinit + promptinit + prompt pure +fi # Options