{"repo":"bulletmark/cdhist","free":true,"listed":false,"github":"https://github.com/bulletmark/cdhist","clone":"git clone https://github.com/bulletmark/cdhist.git","description":"Linux shell cd history.","language":"Python","stars":82,"topics":["bash","bashrc","linux","shell","history","fzf","zsh"],"license":null,"category":"cli-tools","readme_excerpt":"CDHIST - Linux Directory History cdhist is a utility which provides a Linux shell cd history directory stack. A shell cd wrapper function calls cdhist to intercept your typed cd command and maintain an ordered stack of all directories you have previously visited which can be listed and quickly navigated to. cdhist can also be used with a fuzzy finder (such as [ fzf ][fzf]) to fuzzy search and select on previously visited directories. The latest version and documentation is available at http://github.com/bulletmark/cdhist. Example Usage Use the cd command to change directory as normal: At any point you can use the cd -- command to list all your previously visited directories and be prompted for one to select and cd to: That's it! The above is all you really need to know. Instead of having to type the directory name you merely enter it's index. The directories are displayed most recently visited last, without duplicates. Index 0 is the current directory, index 1 is the previous, index 2 is the second previous, up to a user configurable number (default 200). If you prefer a more modern approach you can use a fuzzy finder such as [ fzf ][fzf], [ sk ][skim], [ tv ][television], or [ fzy ][fzy] to show and select from the list, instead of a simple index prompt. See the section on Fuzzy Finder Integration below. Other available commands and options are: List the current stack and its indices (without prompting): Change immediately to directory corresponding to stack index 4: Note th","default_branch":null,"files":null,"tree":[],"storefront":"/r/bulletmark","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bulletmark/cdhist/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}