diff src/optiondefs.h @ 24268:9257f3980f4a v8.2.2675

patch 8.2.2675: directory change in a terminal window shell is not followed Commit: https://github.com/vim/vim/commit/8b9abfd86c736ed3f298dfa8b50a962c118b3983 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 29 20:49:05 2021 +0200 patch 8.2.2675: directory change in a terminal window shell is not followed Problem: Directory change in a terminal window shell is not followed. Solution: Add the 'autoshelldir' option. (closes https://github.com/vim/vim/issues/6290)
author Bram Moolenaar <Bram@vim.org>
date Mon, 29 Mar 2021 21:00:03 +0200
parents 44be09b25619
children 7334bf933510
line wrap: on
line diff
--- a/src/optiondefs.h
+++ b/src/optiondefs.h
@@ -372,6 +372,15 @@ static struct vimoption options[] =
 			    {(char_u *)0L, (char_u *)0L}
 #endif
 			    SCTX_INIT},
+    {"autoshelldir",  "asd",   P_BOOL|P_VI_DEF,
+#ifdef FEAT_AUTOSHELLDIR
+			    (char_u *)&p_asd, PV_NONE,
+			    {(char_u *)FALSE, (char_u *)0L}
+#else
+			    (char_u *)NULL, PV_NONE,
+			    {(char_u *)0L, (char_u *)0L}
+#endif
+			    SCTX_INIT},
     {"autoindent",  "ai",   P_BOOL|P_VI_DEF,
 			    (char_u *)&p_ai, PV_AI,
 			    {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},