]> arthur.barton.de Git - ax-zsh.git/blobdiff - plugins/powerline-shell/powerline-shell.zshrc
Allow plugins to indicate "ignored" and "optional" state
[ax-zsh.git] / plugins / powerline-shell / powerline-shell.zshrc
index a5c9d8fd9da27eb339c3aef9436785a5e999d638..7a4873f77589c3a91dfb8d0d984a5f6cf70185af 100644 (file)
@@ -1,7 +1,7 @@
 # AX-ZSH: Alex' Modular ZSH Configuration
 # powerline-shell.zshrc: "powerline-shell" integration.
 
-[[ "$TERM" = "linux" ]] && return
+[[ "$TERM" = "linux" ]] && return 911
 
 if [[ -z "$POWERLINE_SHELL" ]]; then
        for p (
@@ -15,7 +15,7 @@ if [[ -z "$POWERLINE_SHELL" ]]; then
        unset p
 fi
 
-[[ -r "$POWERLINE_SHELL" ]] || return
+[[ -r "$POWERLINE_SHELL" ]] || return 1
 
 function powerline_precmd() {
        PS1="$(