A zsh plugin to organize your repos locally
You can clone a repo like this:
ghclone https://github.com/buzuloiu/zsh-github-folders.git
and that will get cloned to ~/src/github/buzuloiu/zsh-github-folders
You can go to a repo you've cloned like this:
ghcd zsh-github-folders
ghcd
uses fzf
, so your searches don't have to be complete, it'll find the closest file to what you provide to the cli.
ghcd zsh
would also bring you to zsh-github-folders
because it's the closest match.
-
Clone this repository into
$ZSH_CUSTOM/plugins
(by default~/.oh-my-zsh/custom/plugins
)git clone https://github.com/buzuloiu/zsh-github-folders ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-github-folders
-
Add the plugin to the list of plugins for Oh My Zsh to load (inside
~/.zshrc
):plugins=( # other plugins... zsh-github-folders )
-
Start a new terminal session.