cleaner path display for the termianl prompt

This commit is contained in:
Cyryl Plotnicki-Chudyk 2015-03-28 16:18:29 +01:00
parent a8017a0b06
commit d7c00e8dad

6
.zshrc
View file

@ -27,6 +27,12 @@ bindkey "$terminfo[cud1]" history-substring-search-down
bindkey -M vicmd 'k' history-substring-search-up
bindkey -M vicmd 'j' history-substring-search-down
# override prompt builder for the dir part
# render just the last dir name
prompt_dir() {
prompt_segment blue black '%1~'
}
if [[ `uname` == 'Darwin' ]]; then
alias vim=/usr/local/Cellar/vim/7.4/bin/vim
fi