Curtis Free |
Husband · Dad · Geek |
BlogQuickly changing between similar directories in BASH @ 08 Feb 2012I recently discovered a nifty trick in the
Unfortunately, users of BASH don't get this nicety; however, by adding a (somewhat) simple function
to your shell config (
Note that this isn't perfect. For example, it will not work with values of Update (18 Feb 2011)Josh Berry points out that this can be done using BASH's built-in string
manipulation in place of
| |
[ CC BY-SA 4.0 ] |