From e97a808f3856c6a55e3ad891423f6ce7ed5033db Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Sat, 15 Apr 2023 14:39:56 -0400 Subject: [PATCH] PS1 put non-printable characters in brackets --- dot_bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot_bashrc b/dot_bashrc index d0636c9..3aa8964 100644 --- a/dot_bashrc +++ b/dot_bashrc @@ -5,7 +5,7 @@ # Return if non-interactive [[ $- != *i* ]] && return -PS1='[\e[38;5;107m\u\e[0m@\h \e[38;5;74m\w\e[0m]\$ ' +PS1='[\[\e[38;5;107m\]\u\[\e[0m\]@\h \[\e[38;5;74m\]\w\[\e[0m\]]\$ ' alias diff='diff --color=auto' alias grep='grep --color=auto'