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
Install with your favourite fish package manager, such as fisherman or oh-my-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
set --erase GH_BASE_DIR
set --universal GH_BASE_DIR $HOME/src
Navigate to any GitHub-hosted repository โจ
gh dideler dotfiles