From: Jannik ZANDER Date: Sat, 30 Jun 2018 08:19:30 +0000 (+0200) Subject: Color PS1 X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=3aacd19a7ef508ba6d857f7ce875cfb8042c31fd;p=dotfiles.git Color PS1 --- diff --git a/.bashrc b/.bashrc index 3c671de..18706ad 100644 --- 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