From 002bc79991286934a9593b80635c27d4238cdfc4 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 5 Jun 2020 22:33:42 +0200 Subject: patch 8.2.0909: cannot go back to the previous local directory Problem: Cannot go back to the previous local directory. Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes #4362) --- src/filepath.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/filepath.c') diff --git a/src/filepath.c b/src/filepath.c index ad7b8b03d..8bc941d35 100644 --- a/src/filepath.c +++ b/src/filepath.c @@ -726,6 +726,7 @@ f_chdir(typval_T *argvars, typval_T *rettv) if (argvars[0].v_type != VAR_STRING) // Returning an empty string means it failed. + // No error message, for historic reasons. return; // Return the current directory -- cgit v1.2.1