From: Jannik ZANDER Date: Tue, 22 Jan 2019 16:21:46 +0000 (+0100) Subject: Fix git prompt X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=5e47777adb696b6dd9e0c5386d10c9202e93c1a2;p=dotfiles.git Fix git prompt --- diff --git a/.bashrc b/.bashrc index 45ba5ab..5822c33 100644 --- a/.bashrc +++ b/.bashrc @@ -20,7 +20,11 @@ shopt -s histverify shopt -s no_empty_cmd_completion shopt -s nocaseglob -# prompt +# Enable git prompt +if [[ -e /usr/lib/git-core/git-sh-prompt ]]; then + . /usr/lib/git-core/git-sh-prompt +fi + PS1='\[\033]0;${USERNAME}@${HOSTNAME}:${PWD}\007\]' # terminal title if [[ -z "$MSYS2_PS1" ]]; then diff --git a/.ssh/config b/.ssh/config index 4dcc3d2..4dc0ea2 100644 --- a/.ssh/config +++ b/.ssh/config @@ -1,4 +1,5 @@ # default for all +IdentityFile ~/.ssh/id_rsa # override as per host Host jaza @@ -8,9 +9,3 @@ Host jaza Host jaza.me IdentityFile ~/.ssh/jaza.key - -Host bitbucket.grundfos.com - IdentityFile ~/.ssh/gf_rsa - - -