bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new command dh (dirhistory)


From: Chet Ramey
Subject: Re: new command dh (dirhistory)
Date: Mon, 14 Jul 2025 15:29:35 -0400
User-agent: Mozilla Thunderbird

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    chet@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]