Skip to content

Instantly share code, notes, and snippets.

@mikiyaf
Last active November 13, 2017 01:26
Show Gist options
  • Save mikiyaf/083fea95d74ad352d35312c94e696086 to your computer and use it in GitHub Desktop.
Save mikiyaf/083fea95d74ad352d35312c94e696086 to your computer and use it in GitHub Desktop.
frepo(ghq+fzf) : incremental search for ghq repo and change directory
frepo() {
local dir
dir=$(ghq list > /dev/null | fzf-tmux --reverse +m) &&
cd $(ghq root)/$dir
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment