On 12/22/21, Adam Thornton <athornton(a)gmail.com> wrote:
MacOS finally pushed me to zsh. So I went all the way
and installed
oh-my-zsh. It makes me feel very dirty, and I have a two-line prompt (!!),
but I can't deny it's convenient.
tickets/DM-32983 ✗
adam@m1-wired:~/git/jenkins-dm-jobs$
(and in my terminal, the X glyph next to my git branch showing the status
is dirty is red while the branch name is green)
and if something doesn't exit with rc=0...
adam@m1-wired:~/git/jenkins-dm-jobs$ fart
zsh: command not found: fart
tickets/DM-32983 ✗127 ⚠️
adam@m1-wired:~/git/jenkins-dm-jobs$
Then I also get the little warning glyph and the rc of the last command in
my prompt.
But then I'm also now using Fira Code with ligatures in my terminal, so
I've pretty much gone full Red Lightsaber.
I try to keep my prompt as simple as possible. For years I have been using:
moon $
That 's it. No fancy colors, not even displaying current working
directory. I have an alias 'p' for that.
--Andy