Skip to content

Quick cd is a utility for bash that keeps track of your most often used directories and allows you to cd to them with as few keystrokes as possible.

Notifications You must be signed in to change notification settings

pkrumins/quick-cd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Quick cd keeps tracks of directoreis you work the most often and allows you
to cd to them in the blink of an eye.

It was written by Peteris Krumins (@pkrumins or peter@catonmat.net).
His blog is at http://www.catonmat.net  --  good coders code, great reuse.

------------------------------------------------------------------------------

First `git clone http://github.com/pkrumins/quick-cd`, then make sure to alias
your cd to qcd,

    alias cd=qcd

This will record all the directories you ever work in.

After that, bind a keystroke to bring up the list quickly,

    bind "\C-[d": "qcd\n"

Now each time you hit Alt-d (or Esc-d), quick cd will pop up a list of most
frequently used directories.

Now if you can use arrow keys to navigate the list, or type a pattern to find
a dir. Hit enter and you'll be transferred to that directory.

That should make you super fast in the shell!

------------------------------------------------------------------------------

Have fun being quicker in the shell!


Sincerely,
Peteris Krumins
http://www.catonmat.net

About

Quick cd is a utility for bash that keeps track of your most often used directories and allows you to cd to them with as few keystrokes as possible.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published