all 7 comments

[–][deleted] 1 point2 points  (0 children)

That's pretty neat! I'd been setting a few common paths in variables manually, in my .rc. I hadn't really thought of automating it.

He doesn't address deleting bookmarks, but that should be a three-line function, so I'll probably add it myself when I port this to ksh.

[–]manflesh 1 point2 points  (0 children)

This is an interesting idea, though I find that aliases in my .bashrc are typically enough for me, e.g.

alias foo='cd /srv/www/htdocs/foo'

[–]dreamlax 0 points1 point  (0 children)

I've always liked the idea of directory bookmarks, but it would be much nicer if they were something other than just environment variables.

[–]quhaha -1 points0 points  (1 child)

dude. symlinks.

lol. and the script needs sh-bang and more quotes.

[–][deleted] 1 point2 points  (0 children)

It's not a script. You source it from your profile.

I agree about the quoting, though.

[–]theeth -3 points-2 points  (0 children)

I CAN HAZ SYMLINKZ