Fix prompt to have just the last dir name in path

This commit is contained in:
Cyryl Płotnicki 2016-11-13 19:02:36 +01:00
parent a4b720b37c
commit a8684bb85e

5
.zshrc
View file

@ -26,6 +26,11 @@ bindkey -M vicmd 'k' history-substring-search-up
bindkey -M vicmd 'j' history-substring-search-down
bindkey "^R" history-incremental-search-backward
prompt_dir() {
prompt_segment blue $PRIMARY_FG ' %1~ '
}
# aliases
if [[ `uname` == 'Darwin' ]]; then
alias vim=/usr/local/Cellar/vim/7.4/bin/vim