-
Open .zshrc using you favoriate editor present at your home directory
-
Add these two lines
PROMPT="%B%F{red}%n%f %F{cyan}%1~%f %(!.#.>) %b"; export PROMPT
-
This will look like
(username) ~ >
OR
(username) (directory) >
-
As Shown in Image
Last active
September 26, 2020 14:11
-
-
Save PradyumnaKrishna/44a42447a54408d755101cb606a8e847 to your computer and use it in GitHub Desktop.
Custom ZSH Prompt for Terminal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment