Why Ohmyposh?

The users can customize and visually enhance their terminal prompt to boost their happiness level and productivity, and it helps them to gain some basic knowledge about terminals.

Notice before you start:

  1. DO NOT USE TERMINAL LINES GENERATED BY CHATGPT TO SOLVE YOUR PROBLEM!

IT’S VERY DANGEROUS TO MESS UP YOUR TERMINAL FILES!

  1. If you really mess up your ./bashrc file and save your errors into those and get an infinite amount of error messages showing up on your terminal. YOU ARE STILL FINE! DO NOT PANIC! DO NOT THINK IT’S THE END OF THE WORLD! Follow this instruction to fix your terminal!

General Steps:

  1. Install and Configure Nerd Font

Why?

To ensure all the symbols will show on your posh. If you don’t install or configure nerd font, there will be question mark squares showing on your posh at some point due to unrecognized symbols.

oh-my-posh font install

oh-my-posh font install meslo

Linux/WSL

Mac

If you don’t have homebrew, go to homebrew installation page to install homebrew: