diff options
author | Alan Pearce | 2013-09-22 19:47:14 +0100 |
---|---|---|
committer | Alan Pearce | 2013-09-22 19:47:14 +0100 |
commit | c087c244eec20ae4b76430b5b74fa7c6f32f4cd3 (patch) | |
tree | 6c94e0285040d829bd7c153b5d52a1fa689b8de2 /zsh/zshrc | |
parent | e25275c1cfc454671597c6f71901ca2e57758e99 (diff) | |
download | nixfiles-c087c244eec20ae4b76430b5b74fa7c6f32f4cd3.tar.lz nixfiles-c087c244eec20ae4b76430b5b74fa7c6f32f4cd3.tar.zst nixfiles-c087c244eec20ae4b76430b5b74fa7c6f32f4cd3.zip |
zsh: Fix prompt issues with TRAMP
Diffstat (limited to 'zsh/zshrc')
-rwxr-xr-x | zsh/zshrc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/zsh/zshrc b/zsh/zshrc index ecfec59b..b2005cbc 100755 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -170,10 +170,12 @@ zstyle ':vcs_info:*' enable git hg 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 |