Ultimate boost to your programming productivity!

macstudio macosmonterey zsh oh-my-zsh

Today is Saturday. I had a grand plan, to replace existing serial-usb cable & drivers in my project, to increase the transmission quality ( current drivers keep giving me scrambled characters when read() from the port). Alright, by the sound of it, it is already huge. And it is indeed, 200%.

Rolling up sleeves (no, not wearing long-sleeve), shooting down espresso caffeine x3 (sneaked in some milk), I’m ready to go! yeah! boom! I’m unstoppable!

Open up google, type: “serial-usb cable”, search, get the top result, then search for android drivers. Shit, it is rar, search for “unzip rar in macos”. Tab after tab, hey, wait, what is this?

Out of I-forgot-where, something caught my eye. In a splitting 0.01 second, I’ve decided this is what I want (need).

  • search for “zsh git tag”
  • found oh-my-zsh theme ‘agnoster’
  • nano ~/.zshrc to change theme, a disgusting color label with ? invalid character was displayed.

WTF? ( i meant, android way, What A Terrible Failure)

  • well, search for solution, noticed that a symbol font should be installed for the character to display correctly : ‘powerline’
  • search for ‘install powerline in macos’
  • installed it. did not work:
    raise ValueError, 'unknown locale: %s' % localename
    ValueError: unknown locale: UTF-8"
  • search for fix, set below:
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8

then run source ~/.zshrc

  • new error. search for solution and decided to set PATH=$HOME/.local/bin:$PATH in zshrc
  • fixed everything but the color of labels is really an eye-sore
  • go to the theme file nano ~/.oh-my-zsh/themes/agnoster.zsh-theme you can tweek the colors
  • and open up terminal.app, change the color panel setting from the profile you use.

Phew! Finally! Ta-da!:

Do you feel it? you felt it? Coding productivity boooooosted x 100! Level unlocked. Skill tree lit up!

Well empty stomach calling, gotta go. But wait, I have a vague feeling that I seem to forget something, what is it?

There is always another day.

Sun rises everyday.

Rome is not built in one day.

Work-play balance.

Peace, love. ❤️

Alright, I wasn’t telling the whole story.
here it unfolds:



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Megan M Yang

Megan M Yang


Full-stack programmer, product manager, politics enthusiast and won't shut up about it.