It would be so much fun to update the Zsh Shell default prompt from a % sign to something that you like, say an unicode emoji/smiley - like a butterfly, batman, spiderman, or any other special symbol? Well this is possible, all you need to do is set the PROMPT variable in .zshrc file.
By default the .zshrc profile file is not available on macOS, you need to create it, try the below command, and it will create the file for you if does not exists.
% nano ~/.zshrc
This will open up the file in nano editor (you may use vi/vim if you prefer), just add the below lines at the start of the file,
PROMPT='
🦋 '
Now press Ctrl + X to exit and Y to save, and press Enter. Now to reflect these updates, you run the below command,
% source ~/.zshrc
That's it! You should see the butterfly emoji now as the new Zsh prompt.
If you wish to go back to the normal prompt for zsh, simply open the same file again and remove the line we just added.
- How to show line numbers in Nano on Mac
- How to install Jupyter Notebook on macOS Sonoma
- How to Disable Remote Management using Mac Terminal
- Test internet speed using macOS Terminal command
- Docker Desktop needs privileged access macOS
- Google Search Hot Trends Screensaver for Mac OS X
- How to do calculations in Mac Terminal
- How to make TextEdit the default text Editor on Mac
- How to Show Full Website Address on Safari for Mac (Ventura/Sonoma)
- The Zsh Shell - Mac Tutorial
- Opening mac Terminal
- How to change the name of your Mac running on macOS Ventura 13
- How to find the Battery Cycle Count on macOS Ventura
- How to set an emoji as Zsh terminal prompt in macOS
- How to access Trash Folder using Mac Terminal Command
- macOS Ventura XCode Command Line Tools Installation
- Hide Bluetooth icon on Mac Menu Bar macOS Ventura 13
- How to run .sh file in Mac Terminal
- Terminal Command to get the list of available shells in macOS
- How to see Storage Information on macOS Ventura
- How to Go To /usr/local/bin on Mac Terminal?
- How to do screen recording on Mac
- How to Find File and Directory Size in Mac Terminal
- Open .bash_profile File in TextEdit using Terminal
- Remove Now Playing icon from macOS Big Sur Menu Bar
- Ways to know the Logged in Username using Terminal [macOS/Linux/Unix] - Linux
- JSON Tutorial: List of Lessons - Json-Tutorial
- How to add sleep in Powershell Script - Powershell
- How to disable Siri on Mac Monterey - MacOS
- PowerShell SubString with Examples - Powershell
- What is CA FE BA BE 00 00 00 3D in Java Class Bytecode - Java
- Fail to connect to camera service Android java RuntimeException - Android
- How to turn off CR LF CRLF in Notepad++ - NotepadPlusPlus