From b5dc4718468a248601529e4a31aabe0d8e6145e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesper=20Fussing=20M=C3=B8rk?= Date: Wed, 9 Jan 2019 12:51:22 +0100 Subject: [PATCH] More fixes for bash prompt when playing with history --- bash/.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/.bashrc b/bash/.bashrc index a2ed199..a93a705 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -153,7 +153,7 @@ GIT_PS1_STATESEPARATOR=" " source /usr/share/git/completion/git-prompt.sh eval "$(pipenv --completion)" #PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ ' -PS1='\[\e[1;32m\u@\h \e[1;34m\w\]\n\[\e[1;33m$(__git_ps1 "(%s)")\e[m\]⇨ ' +PS1='\[\e[1;32m\u@\h \e[1;34m\w\]\n\[\e[1;33m\]$(__git_ps1 "(%s) ")\[\e[m\]⇨ ' #Disable CapsLock setxkbmap -option ctrl:nocaps