mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
Merge remote-tracking branch 'cadusk/master'
Conflicts: templates/zshrc-linux.zsh templates/zshrc-mac.zsh templates/zshrc.zsh-template
This commit is contained in:
commit
60f4ae1bed
4 changed files with 13 additions and 11 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# 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`
|
||||
MACVIM="/usr/local/bin/mvim"
|
||||
|
||||
# if mode indicator wasn't setup by theme, define default
|
||||
if [[ "$OSTYPE" == darwin* && -e $RECENTVIM ]]; then
|
||||
alias vim="$RECENTVIM"
|
||||
if [[ "$OSTYPE" == darwin* && -e $MACVIM ]]; then
|
||||
alias vim="$MACVIM -v"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue