]> git.zndr.dk Git - dotfiles.git/commitdiff
Color PS1
authorJannik ZANDER <jannikz@gmail.com>
Sat, 30 Jun 2018 08:19:30 +0000 (10:19 +0200)
committerJannik ZANDER <jannikz@gmail.com>
Sat, 30 Jun 2018 08:19:30 +0000 (10:19 +0200)
.bashrc

diff --git a/.bashrc b/.bashrc
index 3c671de5ed10e47bd2954ef202475e0dd46cc384..18706add7ddce71ffd30c1e10fd938b53dfb340f 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -4,7 +4,8 @@
 [[ -z "$PS1" ]] && return
 
 # Set prompt
-PS1='\[\033[32m\]\u \[\033[36m\]@ \h \w\[\033[32m\]$(__git_ps1)\nā””ā”€ \$ ā–¶\[\033[0m\] '
+#PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w$(__git_ps1 "(%s)")\$ '
+PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[31m\]$(__git_ps1 "(%s)")\[\033[01;34m\]\[\033[00m\]\$ '
 
 export GIT_PS1_SHOWDIRTYSTATE=1
 export GIT_PS1_SHOWCOLORHINTS=1