# ghq と peco でリポジトリリストアップするやつ
function g() {
add-zsh-hook -d chpwd _chpwd
cd $(ghq root)/$(ghq list | peco)
if [ $(ghq root) = $(pwd) ]; then
cd - >& /dev/null
fi
add-zsh-hook chpwd _chpwd
}
Conversation
Notices
-
焼野原ひろし (ahiru@social.mikutter.hachune.net)'s status on Sunday, 09-Dec-2018 14:46:08 JST
焼野原ひろし