Thoughts of an Ubunut
I heard about bash’s $CDPATH recently and it is an awesome productivity tip. Enjoy!
thanks for these very interesting bash tips.
I’ve tried to use HISTIGNORE to have better and more clever history (removing all those duplicates), but no chance: seem to not apply !!!
Please post your comments if you succeed
I’m not much of a shell connoisseur, but a while back a friend switched me from bash to zsh with the justification “it is the same as bash, except better”.
I’m not sure how true that is, but its tab completion is better than bashes:
you type: “cat /u/s/d/w” and press tab and it will expand to “cat /usr/share/d/w” and put your cursor after the “d”, press “i” and tab again, and it will expand from “cat /usr/share/di/w” to “cat /usr/share/dict/words”. Very handy.
And yes, CDPATH works in it (as do most bashisms I think). You can also set autocd, which will cd in to a directory if you type its name. I don’t like it, but some people do.
Feed - the whole site
Feed - Ubuntu category only
Blog at WordPress.com.
RSS Entries and RSS Comments