mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
mvim: Make order of "usual suspects" more sensible
"/Applications", which is where 99.9% of all users will have their MacVim.app located, was the seventh item to be checked for the presence of MacVim.app.
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ if [ -z "$VIM_APP_DIR" ]
|
||||
then
|
||||
myDir="`dirname "$0"`"
|
||||
myAppDir="$myDir/../Applications"
|
||||
for i in ~/Applications ~/Applications/vim $myDir $myDir/vim $myAppDir $myAppDir/vim /Applications /Applications/vim /Applications/Utilities /Applications/Utilities/vim; do
|
||||
for i in /Applications ~/Applications /Applications/vim ~/Applications/vim $myDir $myDir/vim $myAppDir $myAppDir/vim /Applications/Utilities /Applications/Utilities/vim; do
|
||||
if [ -x "$i/MacVim.app" ]; then
|
||||
VIM_APP_DIR="$i"
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user