[lug] CDPATH?

Kevin Maris kevin.r.maris at gmail.com
Thu Apr 14 06:58:20 MDT 2016


You might also be intrigued by autojump:

https://github.com/wting/autojump

On 04/14/2016 06:26 AM, Jeffrey S. Haemer wrote:
> Jed,
>
> Another helpful tweak for cd is "shopt -s globstar"
>
>     shopt -s globstar
>     mkdir -p a/b/c/d/e
>     cd **/e
>     pwd
>
>
> It's no DWIM, but sometimes it's a good shortcut. I'm lazy and a bad
> typist, so my .bashrc includes this:
>
>     shopt-s cdspell dirspell globstar
>
> Also this:
>
>     alias mroe=more  # for Evi
>
> Perhaps, however, tonight's emacs talk will include ways to use DWIM
> commands to turn emacs into the shell-of-your-dreams. :-)
>
> On Wed, Apr 13, 2016 at 6:38 PM, Jed S. Baer <blug at jbaer.cotse.net
> <mailto:blug at jbaer.cotse.net>> wrote:
>
>     On Wed, 13 Apr 2016 17:59:47 -0600
>     Zan Lynx wrote:
>
>     > Notice that "warez" is not in your CDPATH. To make "cd warez"
>     work you'd
>     > need "CDPATH=/home/jbaer/incoming"
>
>     Aha. Somehow, I had it in my head it'd be recursive. Funny, how
>     the brain
>     works sometimes. Thanks.
>     _______________________________________________
>     Web Page:  http://lug.boulder.co.us
>     Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>     Join us on IRC: irc.hackingsociety.org
>     <http://irc.hackingsociety.org> port=6667 channel=#hackingsociety
>
>
>
>
> -- 
> Jeffrey Haemer <jeffrey.haemer at gmail.com
> <mailto:jeffrey.haemer at gmail.com>>
> 720-837-8908 [cell], http://seejeffrun.blogspot.com [blog],
> http://www.youtube.com/user/goyishekop [vlog]
> /פרייהייט? דאס איז יאַנג דינען וואָרט./
>
>
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20160414/6a5bac1a/attachment-0001.html>


More information about the LUG mailing list