Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/buzuloiu/zsh-github-folders
A zsh plugin to organize your repos locally
https://github.com/buzuloiu/zsh-github-folders
Last synced: about 1 month ago
JSON representation
A zsh plugin to organize your repos locally
- Host: GitHub
- URL: https://github.com/buzuloiu/zsh-github-folders
- Owner: buzuloiu
- License: mit
- Created: 2022-03-04T01:47:52.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-03-09T23:20:53.000Z (about 2 years ago)
- Last Synced: 2024-01-24T20:04:19.829Z (4 months ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-zsh-plugins - github-folders - Organizes your GitHub checkouts for you. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - github-folders - Organizes your GitHub checkouts for you. (Plugins / ZSH on Windows)
- awesome-zsh-plugins - github-folders - Organizes your github checkouts for you. (Plugins / ZSH on Windows)
README
# zsh-github-folders
A zsh plugin to organize your repos locally## Cloning repos
You can clone a repo like this:
```zsh
ghclone https://github.com/buzuloiu/zsh-github-folders.git
```and that will get cloned to `~/src/github/buzuloiu/zsh-github-folders`
## Navigating to repos
You can go to a repo you've cloned like this:
```zsh
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.
```zsh
ghcd zsh
```would also bring you to `zsh-github-folders` because it's the closest match.
# Install this plugin
## Oh My Zsh1. Clone this repository into `$ZSH_CUSTOM/plugins` (by default `~/.oh-my-zsh/custom/plugins`)
```sh
git clone https://github.com/buzuloiu/zsh-github-folders ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-github-folders
```2. Add the plugin to the list of plugins for Oh My Zsh to load (inside `~/.zshrc`):
```sh
plugins=(
# other plugins...
zsh-github-folders
)
```3. Start a new terminal session.