/tcdd

tiny cdd

Primary LanguageShell

tcdd

tcdd is useful cd command under tmux environment. This shell script inspired by cdd (useful zsh script).

Require

  • bash or zsh
  • sed, grep, sort

Install

$ git clone git://github.com/hogelog/tcddbash.git
$ echo 'source path/to/tcdd/cdd' >> .bashrc

Usage

List directories

$ cdd
0:/home/hogelog/repos/hogelog/tcdd
1:/home/hogelog/repos/hogelog/tcdd
2:/usr/local/etc
3:/

Change directory

$ cdd 1
cd /home/hogelog/repos/hogelog/tcdd

Known issues

  • tcdd override cd command, so it cannot install with any other tools that overrides cd (like a RVM)