DEV Community

Cedes
Cedes

Posted on

Customizing Terminal in Mac

Window Settings

There are various options you can set to personalize your terminal. These can include the window title, tab title, directory path view, etc.
Terminal > Settings

Themes

Mac has default themes you can apply to your terminal. Each theme has settings for different colors of backgrounds and font. You can import your own theme or choose any of the existing ones.
Terminal > Settings

Terminal Prompt

Create a .zshrc file
After changing your settings, save the file and run using
source .zshrc. You can view the changes in a different terminal.

My personal settings

Screenshot of the custom prompt in terminal view
export PS1="%F{219}%n %F{099}%D@%T %F{015}%F{111}%~%F{015} $ "

Sources

XTerm color sheet
https://www.tweaking4all.com/software/macosx-software/xterm-color-cheat-sheet/

Top comments (0)