mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
7 lines
283 B
Bash
7 lines
283 B
Bash
# try to replace OSX's default vim by MacVim's version
|
|
RECENTVIM=`test -e /usr/local/Cellar/macvim && find /usr/local/Cellar/macvim -name Vim`
|
|
|
|
# if mode indicator wasn't setup by theme, define default
|
|
if [[ "$OSTYPE" == darwin* && -e $RECENTVIM ]]; then
|
|
alias vim="$RECENTVIM"
|
|
fi
|