Skip to content

๐ŸŸ Quickly navigate between GitHub repositories

License

Notifications You must be signed in to change notification settings

dideler/fish-cd-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

63 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

fish-cd-git CircleCI

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

Example usage of fish-cd-git

Quick start

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