📟 Minimal Terminal Prompt
A clean PS1 bash prompt, showing user, host, pathname and git status
Clone and cd into the repo, then copy the desired PS1 .sh file contents into your
Then just reload your bash profile (either restart your cmd, or run the source command)
git clone https://github.com/Lissy93/minimal-terminal-prompt.git
cat minimal-terminal-prompt.sh >> ~/.bashrc
Note, for Mac OS X: Because by default OS X starts a login session first,
~/.bash_profile can be used in place of
~/.bashrc. Read more about this on this
GNU Documentation Article.
References and Further Reading: All the information you could ever want to know about customising your bash PS1 prompt can be found on this detailed Linux Documentation and how-to guide, by Giles Orr: TLDP: Bash Prompt How-To
To install this theme for use in Oh-My-Zsh,
clone this repository into your OMZ
$ git clone https://github.com/Lissy93/minimal-terminal-prompt.git ~/.oh-my-zsh/custom/themes
You then need to select this theme in your ~/.zshrc:
For more information, see this guide about setting ZSH themes.