dot

packages and services management
Log | Files | Refs | README

commit c4e05088cd302ac0603f95c8017974700e6a8bab
parent 99c32b2aab8974d2d73d786255db18a492f321c7
Author: Josuah Demangeonā  ā µ <mail@josuah.net>
Date:   Thu,  9 Mar 2017 21:57:53 +0100

Fixed prompt color for git

Diffstat:
M.profile | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/.profile b/.profile @@ -25,9 +25,7 @@ export DVTM_PAGER='less -R' # prompt export PS1='$( [ "$?" -gt 0 ] && color="1" || if git rev-parse 2>/dev/null - then - [ "$(git status -s)" ] && color="3" || - [ "$(git )" ] && color="2" + then [ "$(git status -s)" ] && color="3" || color="2" fi [ "$SSH_CONNECTION" ] && host=" $(hostname)"