unify shell path setting, fix mac beta version bug
This commit is contained in:
parent
0a73e1c1df
commit
2c46e5c382
@ -13,15 +13,3 @@ for fpath in split(globpath(vimsettings, '*.vim'), '\n')
|
||||
|
||||
exe 'source' fpath
|
||||
endfor
|
||||
|
||||
|
||||
|
||||
if has("unix")
|
||||
let s:uname = system("uname -s")
|
||||
if s:uname == "Darwin"
|
||||
set shell=/usr/local/bin/zsh
|
||||
else
|
||||
set shell=/usr/bin/zsh
|
||||
endif
|
||||
endif
|
||||
|
||||
|
@ -1,9 +1,12 @@
|
||||
" Set the shell to bash so we inherit its path, to make sure
|
||||
" we inherit its path. This affects :Rtags finding the right
|
||||
" path to homebrewed ctags rather than the XCode version of ctags
|
||||
if has('win32')
|
||||
elseif has('mac')
|
||||
set shell=/usr/local/bin/zsh\ -l
|
||||
elseif has('unix')
|
||||
set shell=/usr/bin/zsh\ -l
|
||||
if has("unix")
|
||||
let s:uname = system("uname -s")
|
||||
if s:uname =~ "Darwin"
|
||||
set shell=/usr/local/bin/zsh
|
||||
else
|
||||
set shell=/usr/bin/zsh
|
||||
endif
|
||||
elseif has('win32')
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user