https://github.com/dideler/fish-cd-git
🐟 Quickly navigate between GitHub repositories
https://github.com/dideler/fish-cd-git
fish fish-plugins fish-shell fisherman github navigator productivity shell
Last synced: about 1 month ago
JSON representation
🐟 Quickly navigate between GitHub repositories
- Host: GitHub
- URL: https://github.com/dideler/fish-cd-git
- Owner: dideler
- License: mit
- Created: 2016-10-22T18:01:52.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-08-01T22:14:12.000Z (over 3 years ago)
- Last Synced: 2023-03-12T03:52:29.151Z (about 2 years ago)
- Topics: fish, fish-plugins, fish-shell, fisherman, github, navigator, productivity, shell
- Language: Shell
- Homepage:
- Size: 30.3 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fish-cd-git [](https://circleci.com/gh/dideler/fish-cd-git)
A super handy repository navigator for the [fish shell][].
- Keeps code neatly organised under the same namespace as GitHub's
(i.e. github.com/user/repo)- Quickly jump between repos with auto-completion
- Auto-clones the repo for you if it's missing
- Inspired by https://github.com/dickeyxxx/gh
## Demo

## Quick start
Install with your favourite fish package manager, such as [fisherman][] or [oh-my-fish][omf]
```fish
# Install with fisher v3
fisher add dideler/fish-cd-git# Install with fisher v2
fisher install dideler/fish-cd-git# Install with oh-my-fish
omf install https://github.com/dideler/fish-cd-git
```**Optional:** Set your preferred location for the `github.com` directory (default is `$HOME`)
For example, to use `~/src/github.com` instead of `~/github.com`
```fish
set --erase GH_BASE_DIR
set --universal GH_BASE_DIR $HOME/src
```Navigate to any GitHub-hosted repository :sparkles:
```fish
gh dideler dotfiles
```[fish shell]: https://fishshell.com/
[fisherman]: https://github.com/fisherman/fisherman
[omf]: https://github.com/oh-my-fish/oh-my-fish