{"repo":"evanthegrayt/cdc","free":true,"listed":false,"github":"https://github.com/evanthegrayt/cdc","clone":"git clone https://github.com/evanthegrayt/cdc.git","description":"☣️ Jump to subdirectories of your favorite folders from anywhere, without touching CDPATH.","language":"Shell","stars":25,"topics":["zsh","bash","plugin","function","productivity","directory","cdc","tab-completion","bash-it","oh-my-zsh"],"license":"MIT","category":"cli-tools","readme_excerpt":"$ cdc If your repositories are spread throughout your system like a pandemic, then cdc is the solution! View on GitHub GitHub Pages About Overview I have a few directories in which I clone repositories, so hopping from one project to another can be tedious. This plugin provides a way to change directory to any repository, regardless of where it's located, with cdc [REPOSITORY] . The only setup necessary is to specify which paths the plugin should check for the repository. The plugin comes with tab-completion, as long as your zsh / bash version supports it. The plugin also includes session history, and has options available that behave similar to the pushd , popd , and dirs commands. While this plugin was written for directories that contain repositories, you can obviously use it for adding any directories to your cd path. In fact, this is the default behavior, but you can force cdc to only recognize repositories with a simple configuration change. An added benefit is that certain variables are exported to your shell, which means you can utilize it in scripts and other plugins. For example, after every successful cdc call that changes directory, a variable is set to that path so you can reference it later, even from outside of the directory. I also wrote a custom integration with vim that makes use of the exported CDC DIRS variable. Rationale I chose to make this plugin rather than editing $CDPATH because I don't like changing the default behavior of cd , but you could just as","default_branch":null,"files":null,"tree":[],"storefront":"/r/evanthegrayt","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/evanthegrayt/cdc/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."}