Re:Test, [, and [[ (2020)
by croo on Thursday November 23, 2023 @01:58AM
(#38390160)
I already tried to customize my command line prompt with it. All the arcane colouring character decodings and random character escaping missions became a "put git branch names in parenthesis and make it cyan".
[ Parent
| on HN ]
What’s so arcane about `echo "$(tput setaf 6)cyan$(tput sgr0)"`?
Uh we must be using different prompts. I'm talking about this:
export PS1="\u@\h \[\033[32m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\] $ "