New shell Prompt

Posted on

So I begin using zsh (again) recently and plug some accessories from oh-my-zsh. Inspired by this and my previous bash prompt here:

PS1=":\[\033[01;36m\]\W \[\033[01;35m\]ยป\[\033[00m\] "

I made my own theme.


Basically, I prefer a prompt with minimal yet useful information, so typical theme with two lines prompt is very much a no no.

{% include_code lang:bash fudanchii.zsh-theme %}

In addition, here is my tmux configuration, which I used to show [email protected] at its bottom-left status bar:

{% include_code lang:bash tmux.conf %}