Hi Chet, thanks for the suggestion. I will update the code when I get a chance to make dh a loadable builtin.
On Mon, Jul 14, 2025, 12:29 PM Chet Ramey <chet.ra...@case.edu> wrote: > On 7/13/25 4:19 PM, jason stein wrote: > > *Per Lawrence **Velázquez* > > Sending a new email to bug-bash@gnu.org. Original was sent to > > help-bash@gnu-org which Lawrence indicated was the incorrect mailing > list > > (Thanks Lawrence). > > > > Hey All, > > I developed a new builtin and I was wondering what is the process for > > getting it added to the official release (e.g. reviews, votes, etc). > > I think your most promising approach is to make it a loadable builtin and > offer it to users. They can build it, load it into their shell instances, > and evaluate its value. > > > > *What the command dh does:* > > it adds a new command called "dh" which stands for directory history. > The > > new command is similar to history but deals exclusively with the > > directories that have been cd to. It creates a .bash_dirhistory file > > similar to history. > > This sounds very similar to pushd/popd with the addition of a file to save > the stack across shell sessions. > > > -- > ``The lyf so short, the craft so long to lerne.'' - Chaucer > ``Ars longa, vita brevis'' - Hippocrates > Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/ >