X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=plugins%2Fpowerline-shell%2Fpowerline-shell.zshrc;fp=plugins%2Fpowerline-shell%2Fpowerline-shell.zshrc;h=a5c9d8fd9da27eb339c3aef9436785a5e999d638;hb=7ab7b3a8afaf301d9729acf139198d075cdb4b59;hp=36f6a6f66b03d170b5a591b6d0ec8f1ae484b4f8;hpb=9f3eafbd7a31558662c8fee8867c63ff3d2462e4;p=ax-zsh.git diff --git a/plugins/powerline-shell/powerline-shell.zshrc b/plugins/powerline-shell/powerline-shell.zshrc index 36f6a6f..a5c9d8f 100644 --- a/plugins/powerline-shell/powerline-shell.zshrc +++ b/plugins/powerline-shell/powerline-shell.zshrc @@ -14,10 +14,8 @@ if [[ -z "$POWERLINE_SHELL" ]]; then done unset p fi -if [[ ! -r "$POWERLINE_SHELL" ]]; then - echo "Powerline shell extension not found/readable!" - return -fi + +[[ -r "$POWERLINE_SHELL" ]] || return function powerline_precmd() { PS1="$(