It's called jump/mark. I aliased j to jump and added tab completion to zsh and it's made all the difference.
Usage
Mark .
Marks the current directory to be in the jump list.
Jump <dir name>
Jumps to that directory.
Zsh is a much nicer shell than bash too and there are no glaring incompatibility issues I have seen in daily usage.
export MARKPATH=$HOME/.marks function jump { cd -P $MARKPATH/$1 2> /dev/null || (echo "No such mark: $1" && marks) } function mark { mkdir -p $MARKPATH; ln -s $(pwd) $MARKPATH/$1 } function unmark { rm -i $MARKPATH/$1 } function marks { ls -l $MARKPATH | sed 's/ / /g' | cut -d' ' -f9- && echo } _jump() { local cur=${COMP_WORDS[COMP_CWORD]} COMPREPLY=( $(compgen -W "$( ls $MARKPATH )" -- $cur) ) } complete -F _jump jump
Basically there is a jump oh-my-zsh plugin, but be sure to add the auto-completion mentioned in this article too...
It's called jump/mark. I aliased j to jump and added tab completion to zsh and it's made all the difference.
Usage
Mark .
Marks the current directory to be in the jump list.
Jump <dir name>
Jumps to that directory.
Zsh is a much nicer shell than bash too and there are no glaring incompatibility issues I have seen in daily usage.