{"categories":[],"published":"2017-07-26 10:46:34","description":"\u4fbf\u5229\u306a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u5b9a\u671f\u7684\u306b\u6398\u308a\u8d77\u3053\u3059\u305e\u6d3b\u52d5\u3067\u3059\u3002 ghq \u306f\u300cGitHub repo\u306eclone\u5148\u3092\u7d71\u4e00\u3059\u308b\u3053\u3068\u3067\u3044\u308d\u3044\u308d\u4fbf\u5229\u306b\u3067\u304d\u308b\u30b3\u30de\u30f3\u30c9\u300d\u3067\u3001github repo\u306eclone\u5148\u3092\u3001\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u4f9d\u5b58\u305b\u305a ~/.ghq/github.com/$owner/$repo/ \u306b\u3057\u307e\u3059\u3002 \u4f7f\u3044\u65b9: ghq get -p --shallow $URL peco \u306f\u3001\u30c6\u30ad\u30b9\u30c8\u306e\u30ea\u30b9\u30c8\u3092grep\u3057\u3066\u305d\u308c\u306b\u5bfe\u3057\u3066\u306a\u306b\u304b\u30b3\u30de\u30f3\u30c9\u3092\u8d77\u52d5\u3059\u308b\u307f\u305f\u3044\u306a\u3084\u3064\u3067\u3001\u307b\u304b\u306e\u30c4\u30fc\u30eb\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u3044\u307e\u3059\u3002 ghq + peco .zshrc \u306a\u3069\u306b\u30a8\u30a4\u30ea\u30a2\u30b9\u3092\u4f5c\u3063\u3066\u304a\u304d\u307e\u3059\u3002 alias g='cd $(ghq\u2026","height":"190","type":"rich","author_name":"gfx","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgfx.hatenablog.com%2Fentry%2F2017%2F07%2F26%2F104634\" title=\"ghq+peco\u3067\u30bf\u30fc\u30df\u30ca\u30eb\u4f5c\u696d\u304c\u6357\u308b\u305e - Islands in the byte stream\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"Islands in the byte stream","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","image_url":null,"author_url":"https://blog.hatena.ne.jp/gfx/","url":"https://gfx.hatenablog.com/entry/2017/07/26/104634","title":"ghq+peco\u3067\u30bf\u30fc\u30df\u30ca\u30eb\u4f5c\u696d\u304c\u6357\u308b\u305e","width":"100%","version":"1.0","blog_url":"https://gfx.hatenablog.com/"}