tcdd is useful cd command under tmux environment. This shell script inspired by cdd (useful zsh script).
- bash or zsh
- sed, grep, sort
$ git clone git://github.com/hogelog/tcddbash.git
$ echo 'source path/to/tcdd/cdd' >> .bashrc
$ cdd
0:/home/hogelog/repos/hogelog/tcdd
1:/home/hogelog/repos/hogelog/tcdd
2:/usr/local/etc
3:/
$ cdd 1
cd /home/hogelog/repos/hogelog/tcdd
- tcdd override cd command, so it cannot install with any other tools that overrides cd (like a RVM)