mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Revert "[1.0 release prep] Remove tilde expansion discipline"
This revertsc0334e32, thereby restoring936a1939. After the fixes in0a343244anda2bc49be, the tilde expansion disciplines work nicely, so they can come back to the 1.0 branch.
This commit is contained in:
parent
a2bc49bed1
commit
350e52877b
9 changed files with 134 additions and 1 deletions
5
NEWS
5
NEWS
|
|
@ -422,6 +422,11 @@ Any uppercase BUG_* names are modernish shell bug IDs.
|
|||
|
||||
2021-03-16:
|
||||
|
||||
- Tilde expansion can now be extended or modified by defining a .sh.tilde.get
|
||||
or .sh.tilde.set discipline function. This replaces a 2004 undocumented
|
||||
attempt to add this functionality via a .sh.tilde built-in, which never
|
||||
worked and crashed the shell. See the manual for details on the new method.
|
||||
|
||||
- Fixed a bug in interactive shells: if a variable used by the shell called
|
||||
a discipline function (such as PS1.get() or COLUMNS.set()), the value of $?
|
||||
was set to the exit status of the discipline function instead of the last
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue