I use iTerm 2.
I use 15pt Menlo Regular for Powerline, available here.
I use Zsh + Oh My ZSH. I configured ZSH as my primary shell as part of the install of Oh My ZSH
I use Agnoster for Oh My ZSH (Installed to ~/.oh-my-zsh/themes/agnoster.zsh-theme
) with one modification. You set your theme in ~/.zshrc
. I saved my modified copy as new file so upgrades wouldn't break my change.
Change this
prompt_dir() {
prompt_segment blue black '%~'
}
To this
prompt_dir() {
prompt_segment blue black $(basename "$PWD")
}
This removes the full path and only shows the current folder.
If you notice the colors in git status
, that is due to having this in my ~/.gitconfig
file:
[color]
diff = auto
status = auto
branch = auto