os_unix_defs && os/unix_defs: Consistently use '~' over '$HOME' #2009

these path names are ridiculous...

Based on #889, but also remove some unused #defines
This commit is contained in:
Michael Reed
2015-02-17 01:18:22 -05:00
committed by Justin M. Keyes
parent 1e6c487488
commit 032c20078a
2 changed files with 5 additions and 18 deletions

View File

@@ -1,7 +1,7 @@
#ifndef NVIM_OS_UNIX_DEFS_H
#define NVIM_OS_UNIX_DEFS_H
#define TEMP_DIR_NAMES {"$TMPDIR", "/tmp", ".", "$HOME"}
#define TEMP_DIR_NAMES {"$TMPDIR", "/tmp", ".", "~"}
#define TEMP_FILE_PATH_MAXLEN 256
#endif // NVIM_OS_UNIX_DEFS_H