]> git.zndr.dk Git - dotfiles.git/commitdiff
Fix git prompt
authorJannik ZANDER <jannikz@gmail.com>
Tue, 22 Jan 2019 16:21:46 +0000 (17:21 +0100)
committerJannik ZANDER <jannikz@gmail.com>
Tue, 22 Jan 2019 16:21:46 +0000 (17:21 +0100)
.bashrc
.ssh/config

diff --git a/.bashrc b/.bashrc
index 45ba5ab059fdb417dd038ca223bb6ca259f3a3f6..5822c3363ad0526409c3b25af404fcfad80f7dd5 100644 (file)
--- 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
index 4dcc3d2e049098084a8343f0ea22d4d3cf8f5907..4dc0ea2667958dc576bb8ddea43c12ecf886a945 100644 (file)
@@ -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
-
-
-