Created
March 2, 2013 11:42
-
-
Save sifue/5070633 to your computer and use it in GitHub Desktop.
grepやackよりも速いコード検索ツールのagをローカルビルドインストールする ref: http://qiita.com/items/55d0c5c11a0571af3b8e
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
$ mkdir -p $HOME/local/source | |
$ cd $HOME/local/source | |
$ wget "https://github.com/ggreer/the_silver_searcher/archive/master.zip" --no-check-certificate | |
$ unzip the_silver_searcher-master.zip | |
$ cd the_silver_searcher-master | |
$ sed -i -e "s/configure/configure --prefix=\$HOME\/local/g" build.sh | |
$ ./build.sh | |
$ make install |
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
$ ag hogehoge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment