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
@ -69,7 +69,9 @@ in
|
|||||||
|
|
||||||
promptInit = mkOption {
|
promptInit = mkOption {
|
||||||
default = ''
|
default = ''
|
||||||
autoload -U promptinit && promptinit && prompt walters
|
if [ "$TERM" != dumb ]; then
|
||||||
|
autoload -U promptinit && promptinit && prompt walters
|
||||||
|
fi
|
||||||
'';
|
'';
|
||||||
description = ''
|
description = ''
|
||||||
Shell script code used to initialise the zsh prompt.
|
Shell script code used to initialise the zsh prompt.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user