From c35d129d71cfd4c1ff3b5213e8fa710f80ec94ba Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Sun, 18 Feb 2018 01:11:45 +0100 Subject: [PATCH] Move prompt changing call to after prompt module has been initialized. --- home/dotfiles/zshrc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/home/dotfiles/zshrc b/home/dotfiles/zshrc index 7d50cea..5340611 100644 --- a/home/dotfiles/zshrc +++ b/home/dotfiles/zshrc @@ -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"