all repos — nixfiles @ c087c244eec20ae4b76430b5b74fa7c6f32f4cd3

System and user configuration, managed by nix and home-manager

zsh: Fix prompt issues with TRAMP

Alan Pearce
commit

c087c244eec20ae4b76430b5b74fa7c6f32f4cd3

parent

e25275c1cfc454671597c6f71901ca2e57758e99

1 file changed, 6 insertions(+), 4 deletions(-)

jump to
M zsh/zshrczsh/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