diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-18 10:32:03 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-18 10:32:03 +1200 |
commit | 12653d4a5cb6f6e80d8d3d35ab5427eb827635c0 (patch) | |
tree | 74728021c2db3873353d3e740786d3ea5c957961 | |
parent | Merge branch 'hotfix/v1.34.1' into develop (diff) | |
download | dotfiles-12653d4a5cb6f6e80d8d3d35ab5427eb827635c0.tar.gz dotfiles-12653d4a5cb6f6e80d8d3d35ab5427eb827635c0.zip |
Make 'backupskip' with Unix paths depend on +unix
-rw-r--r-- | vim/vimrc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -61,7 +61,9 @@ elseif has('win32') || has('win64') endif " Don't back up stuff in /dev/shm or /var/tmp -set backupskip+=/dev/shm,/var/tmp +if has('unix') + set backupskip+=/dev/shm,/var/tmp +endif " Try to keep swapfiles in one system-appropriate dir if has('unix') |