Use pip in pipx venv to detect powerline path.
parent
df41c1fc34
commit
14686f57ef
|
@ -121,7 +121,7 @@ if [ $ZSH_POWERLINE -gt 0 ]; then
|
||||||
log "$(powerline-daemon 2>&1)"
|
log "$(powerline-daemon 2>&1)"
|
||||||
|
|
||||||
log "Finding powerline..."
|
log "Finding powerline..."
|
||||||
POWERLINE_DIR="$(pip3 show powerline-status --isolated | grep '^Location:' | awk '{print $2}')"
|
POWERLINE_DIR="$(pipx runpip powerline-status show powerline-status --isolated | grep '^Location:' | awk '{print $2}')"
|
||||||
log "Powerline repository root: $POWERLINE_DIR"
|
log "Powerline repository root: $POWERLINE_DIR"
|
||||||
|
|
||||||
log "Preparing zstyle..."
|
log "Preparing zstyle..."
|
||||||
|
@ -171,7 +171,6 @@ if [ $ZSH_DEFAULT_TERM -gt 0 ] && [ -z "$TERM" ]; then
|
||||||
fi
|
fi
|
||||||
section_end
|
section_end
|
||||||
|
|
||||||
|
|
||||||
# gpg password via console
|
# gpg password via console
|
||||||
section "gpg pinentry fix"
|
section "gpg pinentry fix"
|
||||||
if [ $ZSH_GPG_PINENTRY_FIX -gt 0 ]; then
|
if [ $ZSH_GPG_PINENTRY_FIX -gt 0 ]; then
|
||||||
|
|
Loading…
Reference in New Issue