ghq
https://github.com/x-motemen/ghq
ローカルのGitリポジトリを一括で管理できる
fzfと組み合わせればローカルリポジトリを検索して移動が超絶簡単になる
code:.zshrc
function move_to_repository() {
dir=$(ghq list -p --vcs=git | fzf --reverse)
if "$dir" != "" ; then
cd $dir
fi
zle accept-line
}
zle -N move_to_repository
bindkey '^g' move_to_repository
ref
https://qiita.com/tomoyamachi/items/e51d2906a5bb24cf1684