misc: UNIX => Unix #4022

Although UNIX is a registered trademark of The Open Group, it doesn't
really matter whether we refer to these systems as UNIX, Unix, or
Unix-like. So, for consistency, refer to them collectively as Unix.

Related:
http://www.greens.org/about/unix.html
http://www.unixica.com/html/unixunix.html
This commit is contained in:
Seth Jackson
2016-01-15 17:05:43 -05:00
committed by Michael Reed
parent 0735b05c82
commit a7ade5c832
23 changed files with 55 additions and 61 deletions

View File

@@ -6843,9 +6843,9 @@ void ex_cd(exarg_T *eap)
prev_dir = NULL;
#if defined(UNIX)
/* for UNIX ":cd" means: go to home directory */
// On Unix ":cd" means: go to home directory.
if (*new_dir == NUL) {
/* use NameBuff for home directory name */
// Use NameBuff for home directory name.
expand_env((char_u *)"$HOME", NameBuff, MAXPATHL);
new_dir = NameBuff;
}