Use pip in pipx venv to detect powerline path.

master
Icedream 2019-11-22 10:26:38 +01:00
parent df41c1fc34
commit 14686f57ef
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 1 additions and 2 deletions

View File

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