1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

ksh93/fun: Add 'autocd'

This autoloadable function activates a feature similar to 'shopt -s
autocd' in bash: type only a directory name to change directory.
It uses the DEBUG trap to work. See the file for details.
This commit is contained in:
Martijn Dekker 2022-07-24 14:01:15 +02:00
parent 663606866e
commit b72992f684
3 changed files with 78 additions and 1 deletions

8
NEWS
View file

@ -8,7 +8,13 @@ Any uppercase BUG_* names are modernish shell bug IDs.
- Add new 'man' function in src/cmd/ksh93/fun/man. This integrates the --man
self-documentation of ksh built-in and external AST commands with your
system's 'man' command so you can conveniently use 'man' for all commands,
whether built-in or external. See the file for details.
whether built-in or external. To use this, put the file in a directory in
your $FPATH and then issue 'autoload man' in your .kshrc to override the
system's man(1) command. See the file for details.
- Add new 'autocd' function in src/cmd/ksh93/fun/autocd. This activates a
feature like 'shopt -s autocd' in bash: type only a directory name to change.
See the file for details. Add this file to a directory in your $FPATH to use.
- New feature to make 'set -b'/'set -o notify' more usable. When that option
is on (and either the vi or emacs/gmacs line editor is in use), 'Done' and