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