Move prompt changing call to after prompt module has been initialized.

master
Icedream 2018-02-18 01:11:45 +01:00
parent d60099c22a
commit c35d129d71
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 1 additions and 3 deletions

View File

@ -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"