The Platinum Searcher

Go言語でag(The Silver Searcher)ライクな高速検索ツールをつくった。EUC-JP/Shift-JISも検索できマス。 · THINKING MEGANE

ダウンロードしたバイナリが動かなかったのでビルドしてみる
とりあえず、GOPATH は適当。

% brew install go
% export GOPATH=~/src/gocode
% go get github.com/monochromegane/the_platinum_searcher
% co ~/src/gocode/src/github.com/monochromegane/the_platinum_searcher
% go build -o ~/bin/pt


.zshrc とか

if [ -x "`which go`" ]; then
  export GOROOT=`go env GOROOT`
  export GOPATH=$HOME/.go
  export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
fi