Skip to content

Commit

Permalink
-Fix: recent refactoring broke mc special case, apply bandaid
Browse files Browse the repository at this point in the history
  • Loading branch information
Juhasz Peter committed Jan 9, 2014
1 parent 29affa9 commit 77fe951
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion git-prompt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -577,12 +577,15 @@ _gp_set_who_where() {
else
PS1="\w$prompt_char "
fi
return 0
return 1
fi
}

_gp_set_who_where

# exit if in mc (see above)
[[ $? -ne 0 ]] && return 1

create_battery_indicator () {
# if not a laptop: :
# if laptop on AC, not charging: ⚡
Expand Down

0 comments on commit 77fe951

Please sign in to comment.