zsh: only do promptInit when TERM!=dumb
This allows tramp to be used correctly when default shell is zsh.
This commit is contained in:
parent
ee1d6114a8
commit
2f68e86ce6
1 changed files with 3 additions and 1 deletions
|
@ -69,7 +69,9 @@ in
|
|||
|
||||
promptInit = mkOption {
|
||||
default = ''
|
||||
autoload -U promptinit && promptinit && prompt walters
|
||||
if [ "$TERM" != dumb ]; then
|
||||
autoload -U promptinit && promptinit && prompt walters
|
||||
fi
|
||||
'';
|
||||
description = ''
|
||||
Shell script code used to initialise the zsh prompt.
|
||||
|
|
Loading…
Reference in a new issue