From 5e47777adb696b6dd9e0c5386d10c9202e93c1a2 Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Tue, 22 Jan 2019 17:21:46 +0100 Subject: [PATCH] Fix git prompt --- .bashrc | 6 +++++- .ssh/config | 7 +------ 2 files changed, 6 insertions(+), 7 deletions(-) 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 - - - -- 2.43.0