dot

packages and services management
Log | Files | Refs | README

commit 3e8acbafa6df5b049768617c22aed233d901f4cd
parent a44acc04ec6a4d98b7529d406f679b7d53e61522
Author: josuah <mail@josuah.net>
Date:   Sat, 17 Dec 2016 12:52:01 +0000

Fixed git-prompt

Diffstat:
M.local/bin/git-prompt | 2+-
M.profile | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.local/bin/git-prompt b/.local/bin/git-prompt @@ -1,6 +1,6 @@ cd "$1" -git rev-parse 2> /dev/null || return 0 +git rev-parse 2> /dev/null || exit 0 git status --porcelain -b | awk ' /^## / { diff --git a/.profile b/.profile @@ -50,7 +50,7 @@ export PS1='$( [ -z "${PWD##$HOME*}" ] && printf ~%s "${PWD#$HOME}" || printf %s "$PWD" # git branch and status - git rev-parse 2> /dev/null && git-prompt + git-prompt printf "\n" # prompt character