Use the case-insensitive regex

This commit is contained in:
Bubba 2018-06-15 11:29:09 -04:00
parent c0d87db309
commit a053179d6a

View File

@ -228,7 +228,7 @@ function! NERDTreeListNode()
if has("unix")
let s:uname = system("uname")
let stat_cmd = 'stat -c "%s" '
if s:uname == "Darwin\n"
if s:uname =~? "Darwin"
let stat_cmd = 'stat -f "%z" '
endif
endif