Set POWERLINE_CONFIG_COMMAND so binds won't have to use invalid paths.
parent
03a68c9029
commit
8f1a03ecad
|
@ -54,6 +54,9 @@ if [ $ZSH_POWERLINE -gt 0 ]; then
|
||||||
POWERLINE_DIR="$(pip3 show powerline-status --isolated | grep '^Location:' | awk '{print $2}')"
|
POWERLINE_DIR="$(pip3 show powerline-status --isolated | grep '^Location:' | awk '{print $2}')"
|
||||||
log "Powerline repository root: $POWERLINE_DIR"
|
log "Powerline repository root: $POWERLINE_DIR"
|
||||||
|
|
||||||
|
export POWERLINE_CONFIG_COMMAND="${POWERLINE_DIR}/scripts/powerline-config"
|
||||||
|
log "Powerline config command: $POWERLINE_CONFIG_COMMAND"
|
||||||
|
|
||||||
log "Preparing zstyle..."
|
log "Preparing zstyle..."
|
||||||
autoload -Uz promptinit
|
autoload -Uz promptinit
|
||||||
promptinit
|
promptinit
|
||||||
|
|
Loading…
Reference in New Issue