bug-bash
[Top][All Lists]
Advanced

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

Bash Feature Proposal


From: Eric Lovejoy
Subject: Bash Feature Proposal
Date: Mon, 9 Feb 2026 10:29:53 -0500

Hi All,
Not really sure who to write to for feature requests / submissions.
I can write the features, it's who or where to submit them which has
baffled me.

One Feature I would like to propose is an addition to the Bash shell
builtin cd,

cd -N :: change dir by N directories.
      $cd -3  # go up 3 directories.
      $cd -0  # no operation
      $cd -2  # go up 2 directories
  Goal save some key strokes? avoid this: cd ../../../../ type of thing.
       scripting possibilities?


Potential downside:
naming directories "-7" or any negative number might cause an issue in
directory traversal.


https://github.com/FOSSBOSS/bashMods

love it or hate it, I have other ideas, and contributions I would like to
make to gnu software.
I still want to know how to propose new features.


reply via email to

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