Skip to content

Commit

Permalink
Return success from prompt_lean_setup (#18)
Browse files Browse the repository at this point in the history
When $TMUX is unset the exit status becomes non-zero, which certain plugin managers (zplug) flag as a failure loading the plugin.
  • Loading branch information
dne authored and miekg committed Feb 15, 2017
1 parent b2e1d7b commit 4e33a1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions prompt_lean_setup
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ prompt_lean_setup() {

[[ "$SSH_CONNECTION" != '' ]] && prompt_lean_host=" %F{yellow}%m%f"
[[ "$TMUX" != '' ]] && prompt_lean_tmux=$PROMPT_LEAN_TMUX

return 0
}

prompt_lean_setup "$@"

0 comments on commit 4e33a1f

Please sign in to comment.