Better HN
topnewbestaskshowjobs
Log inSign up

roob

2 karma · joined Aug 17, 2013 (13y ago) · 2 submissions

irc:rob_:irc irc:rob_:irc irc:rob_:irc
Submissions

comment 13y ago · link · parent

Except tab completion is annoying since zsh will include commands and environment variables in its guesses. The linked method simply provides a way to store the directory hash across sessions.

comment 13y ago · link · parent

I also do something similar but slightly different: https://github.com/roobert/dotfiles/blob/master/.zsh/robs/fu...

my method involves storing the bookmarks in a file but loading them into zshs directory hash. This means the directories are tab completable and if you have AUTO_CD set then you can change directory with simply: ~dir_name, otherwise: cd ~dir_name.