mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user