Skip to content

Commit 53f1724

Browse files
author
Jeff Bai
committed
wrap-around brackets to fix GNOME Terminal.
1 parent c2f5e1d commit 53f1724

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

bashrc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ alias ll='ls -Flh'
2727
alias la='ls -AF'
2828
for c in {e,f,}grep {v,}dir ls; do alias $c="$c --color=auto"; done;
2929

30-
NORMAL='\e[0m'
31-
RED='\e[1;31m'
32-
GREEN='\e[1;32m'
33-
CYAN='\e[1;36m'
30+
NORMAL='\[\e[0m\]'
31+
RED='\[\e[1;31m\]'
32+
GREEN='\[\e[1;32m\]'
33+
CYAN='\[\e[1;36m\]'
34+
3435
# Linux tty color workaround
3536
[ $(tput colors) == 8 ] && YELLOW='\e[1;33m' IRED="\e[0;31m" || YELLOW='\e[1;93m' IRED="\e[0;91m"
3637

0 commit comments

Comments
 (0)