Fix prompt to have just the last dir name in path
This commit is contained in:
parent
a4b720b37c
commit
a8684bb85e
1 changed files with 5 additions and 0 deletions
5
.zshrc
5
.zshrc
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue