diff options
-rw-r--r-- | vim/plugin/auto_undodir.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/plugin/auto_undodir.vim b/vim/plugin/auto_undodir.vim index 0cd54cd0..4382fe18 100644 --- a/vim/plugin/auto_undodir.vim +++ b/vim/plugin/auto_undodir.vim @@ -36,7 +36,7 @@ if !isdirectory(expand(s:undodir)) " Failing that, use an OS-dependent command " (Fortunately, Unix and Windows are the only OS types in the world) elseif has('*shellescape') - elseif has('unix') + if has('unix') silent! execute '!mkdir -m 0700 -p ' \ . shellescape(expand(s:undodir)) elseif has('win32') || has('win64') |