]> git.zndr.dk Git - dotfiles.git/commitdiff
Fix again
authorJannik ZANDER <jannikz@gmail.com>
Sat, 30 Jun 2018 10:23:07 +0000 (12:23 +0200)
committerJannik ZANDER <jannikz@gmail.com>
Sat, 30 Jun 2018 10:23:07 +0000 (12:23 +0200)
.bashrc

diff --git a/.bashrc b/.bashrc
index a39e1c38f8502b1fa32bf62a4687980e48df73f6..ec0784440bb17d639804e5de730547bffb44a374 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -19,16 +19,16 @@ else
   fi
 fi
 
-PS1="$PS1"'\[\033[01;32m\]'    # change color
-PS1="$PS1"'\u@\h'              # user@host
-PS1="$PS1"'\[\033[00m\]'       # change color
-PS1="$PS1"':'                  # :
-PS1="$PS1"'\[\033[01;34m\]'    # change color
-PS1="$PS1"'\w'                 # current working directory
-PS1="$PS1"'\[\033[31m\]'       # change color
-PS1="$PS1"'`__git_ps1`'        # bash function
-PS1="$PS1"'\[\033[00m\]'       # change color
-PS1="$PS1"'\$ '                # prompt
+PS1="$PS1"'\[\033[01;32m\]'     # change color
+PS1="$PS1"'\u@\h'               # user@host
+PS1="$PS1"'\[\033[00m\]'        # change color
+PS1="$PS1"':'                   # :
+PS1="$PS1"'\[\033[01;34m\]'     # change color
+PS1="$PS1"'\w'                  # current working directory
+PS1="$PS1"'\[\033[31m\]'        # change color
+PS1="$PS1"'$(__git_ps1 "(%s)")' # bash function
+PS1="$PS1"'\[\033[00m\]'        # change color
+PS1="$PS1"'\$ '                 # prompt
 
 export GIT_PS1_SHOWDIRTYSTATE=1
 #export GIT_PS1_SHOWCOLORHINTS=1