Re:Don't waste your time by cd-ing in the terminal
by sjs on Friday February 18, 2011 @08:11PM
(#2237990)
Or in zsh:
[ Parent
| on HN ]
Re:Don't waste your time by cd-ing in the terminal
by irfn on Saturday February 19, 2011 @05:41AM
(#2238846)
you can put this in ~/.zshrc for persistent zsh bookmarks
touch ~/.zshmarks && source ~/.zshmarks
function b() {
echo "hash -d $1=\"`pwd`\"" >> ~/.zshmarks && source ~/.zshmarks
}
Re:Don't waste your time by cd-ing in the terminal
by spicycode on Saturday February 19, 2011 @11:01AM
(#2239221)
or you could just put some paths on your cdpath and enable autocd.
Re:Don't waste your time by cd-ing in the terminal
by irfn on Saturday February 19, 2011 @05:43AM
(#2238848)
and then you just cd by typing ~bookmark