mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Atualizado script de override vim para Mac.
This commit is contained in:
parent
029ad2828c
commit
454b685fd2
1 changed files with 1 additions and 4 deletions
|
|
@ -1,10 +1,7 @@
|
|||
# try to replace OSX's default vim by MacVim's version
|
||||
RECENTVIM=`find /usr/local/Cellar/macvim -name Vim`
|
||||
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
|
||||
echo "Redirecionando vim..."
|
||||
alias vim="$RECENTVIM"
|
||||
else
|
||||
echo "deu zica criando alias"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue