Merge pull request #66992 from oxij/nixos/fix-zsh-prompt

nixos: zsh: setopt prompt_sp to workaround a zsh bug
This commit is contained in:
Matthew Bauer 2019-08-20 13:20:30 -04:00 committed by GitHub
commit 1ab1e11257
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ in
promptInit = mkOption { promptInit = mkOption {
default = '' default = ''
if [ "$TERM" != dumb ]; then if [ "$TERM" != dumb ]; then
autoload -U promptinit && promptinit && prompt walters autoload -U promptinit && promptinit && prompt walters && setopt prompt_sp
fi fi
''; '';
description = '' description = ''