aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
diff options
context:
space:
mode:
authorSeth Jackson <sethjackson@gmail.com>2016-01-15 17:05:43 -0500
committerMichael Reed <m.reed@mykolab.com>2016-01-16 18:34:31 -0500
commita7ade5c832dc5081afbc3f6bd21657491b27863a (patch)
treeddcdb7f2fa305203833f42ed1be7781b677b4889 /src/nvim/ex_docmd.c
parent0735b05c8296f4b73926fc7024f76d37241f390c (diff)
downloadrneovim-a7ade5c832dc5081afbc3f6bd21657491b27863a.tar.gz
rneovim-a7ade5c832dc5081afbc3f6bd21657491b27863a.tar.bz2
rneovim-a7ade5c832dc5081afbc3f6bd21657491b27863a.zip
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
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index 84bd31d9ad..cbe7c1a231 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -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;
}