set different zsh path for different os
This commit is contained in:
parent
7e937a61ef
commit
76c5517476
@ -15,4 +15,13 @@ for fpath in split(globpath(vimsettings, '*.vim'), '\n')
|
||||
endfor
|
||||
|
||||
|
||||
set shell=/usr/local/bin/zsh
|
||||
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user