From 74aebbf9c7f8419081bac363de9b37083383527b Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sat, 25 Aug 2018 00:10:26 +0300 Subject: [PATCH] Finally! The is not overwritten when there's color. --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index ac1243e..9693be0 100644 --- a/.bashrc +++ b/.bashrc @@ -43,7 +43,7 @@ export LESS_TERMCAP_us=$'\E[01;32m' export LESS_TERMCAP_ue=$'\E[0m' export PS0="\$(__prerun)" # shellcheck disable=SC1117 -export PS1="\$(__prompt)\u@\h:\w\$ " +export PS1="\[\$(__prompt)\]\u@\h:\w\$ " export CDPATH="$HOME/Documents:$HOME/Documents/Shore:$HOME/Documents/Bullguard" alias ll='ls -lha' -- GitLab