diff options
-rw-r--r-- | VERSION | 4 | ||||
-rw-r--r-- | vim/plugin/auto_undodir.vim | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -1,2 +1,2 @@ -tejr dotfiles v0.17.0 -Mon Nov 13 21:09:10 UTC 2017 +tejr dotfiles v0.17.1 +Tue Nov 14 00:22:18 UTC 2017 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') |