
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 Display Analog Clock on Mac Menu Bar
- Shutdown Mac Terminal Command
- How to know the Serial Number of MacBook on macOS Ventura 13.0
- macOS: Remove Desktop or Documents Folder from iCloud Drive Syncing
- [fix] How to Show file extensions on all files on Mac
- How to install Zoom Add-in to Outlook (Mac)
- How to turn off Stage Manager - macOS Ventura
- Fix - Xode - Internal logic error: Connection was invalidated
- How to do calculations in Mac Terminal
- How to delete a Page in Microsoft Word File on Mac (macOS)
- How to Refresh Mac Desktop
- How to install Java on macOS [Big Sur]
- How to Disable Mac Terminal Bell Sound
- Installing MongoDB on Linux/Unix/macOS/Ubuntu
- How to Uninstall Brew on Mac
- Find your macOS version
- Change TextEdit File Encoding
- AppleScript Example with TextEdit
- How to install homebrew (brew) on M1 Mac
- How to Find File and Directory Size in Mac Terminal
- How to open new tab in Sublime Text Editor [macOS]
- How to list all users in Mac Terminal
- Turn off Auto-Capitalization on macOS Ventura 13
- How to check Command Line Tools Version [Updated for Ventura]
- Change Current User Password using Mac Terminal Command
- Install Eclipse IDE on M1/M2 Mac Natively - Eclipse
- How to remove unwanted Java imports in IntelliJ (alternative of eclipse Ctrl + Shift + O) - Eclipse
- Take Screenshot on Mac OS X (Keyboard Shortcuts) - Mac-OS-X
- CSS: Apply opacity only for div background and not text - CSS
- How to Make Android TextView Text Bold - Android
- Advanced print() Function Tutorial and Techniques for Python Developers - Python
- Android Studio : Change FAB icon color : FloatingActionButton - Android-Studio
- Android : Accidental Octal Lint Warning - Android