Jason Kim <jason.kim@revtera.com> writes:
Hi Jason,
From bbdd6f2665c70e15ccc23f48d664eb6e20df7fa6 Mon Sep 17 00:00:00 2001
From: Jason Kim <jason.kim@revtera.com>
Date: Mon, 24 May 2021 10:04:54 -0700
Subject: [PATCH] Auto-cd support for lisp/shell.el
Added a new defcustom shell-has-auto-cd (default: nil) for
users with shells like zsh that can auto-cd into a directory
without typing in the "cd" command.
If set to true and the command is a directory, then
shell-directory-tracker processes the command (which happens to be a
directory) as if it were prepended with "cd"
FTR, the commit message shall have a ChangeLog style.
+(defcustom shell-has-auto-cd nil
+ "If non-nil, `shell-mode' handles implicit \"cd\" commands.
+Implicit \"cd\" is changing the directory if the command is a directory.
+You can make this variable buffer-local to change it, per shell-mode instance
+Useful for shells like zsh that has this feature."
+ :type 'boolean
+ :group 'shell-directories
+ :version "28")
This should be "28.1".
Thanks!
-Jason
Best regards, Michael.