Move prompt changing call to after prompt module has been initialized.
parent
d60099c22a
commit
c35d129d71
|
@ -54,12 +54,10 @@ if [ $ZSH_POWERLINE -gt 0 ]; then
|
|||
POWERLINE_DIR="$(pip3 show powerline-status --isolated | grep '^Location:' | awk '{print $2}')"
|
||||
log "Powerline repository root: $POWERLINE_DIR"
|
||||
|
||||
log "Disabling current prompt theme..."
|
||||
prompt off
|
||||
|
||||
log "Preparing zstyle..."
|
||||
autoload -Uz promptinit
|
||||
promptinit
|
||||
prompt off
|
||||
|
||||
log "Loading powerline zsh plugin..."
|
||||
source "$POWERLINE_DIR/powerline/bindings/zsh/powerline.zsh"
|
||||
|
|
Loading…
Reference in New Issue