]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

use tmpdir var for setting dir
authormartin f. krafft <madduck@madduck.net>
Mon, 19 May 2008 18:19:06 +0000 (19:19 +0100)
committermartin f. krafft <madduck@madduck.net>
Mon, 19 May 2008 18:19:06 +0000 (19:19 +0100)
.vimrc

diff --git a/.vimrc b/.vimrc
index 59409c38e9232a42756681258478f727f74265f6..a38f61ba9cf0abb261b51d51bc29173a00d13f08 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -1089,7 +1089,7 @@ set ar
 " directory
 " list of directories for the swap file
 "       set dir=.,/home/madduck/tmp,/var/tmp,/tmp
-set dir=.,~/tmp//,/var/tmp//,/tmp//
+set dir=.,$TMPDIR//,/var/tmp//,/tmp//
 
 " swapfile
 " use a swap file for this buffer