Last active
November 13, 2017 01:26
-
-
Save mikiyaf/083fea95d74ad352d35312c94e696086 to your computer and use it in GitHub Desktop.
frepo(ghq+fzf) : incremental search for ghq repo and change directory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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