mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 01:08:20 +00:00
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:

committed by
Michael Reed

parent
0735b05c82
commit
a7ade5c832
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user