by shigemk2

当面は技術的なことしか書かない

ag

silver searcher 件数のみ

ag

-c --count Only print the number of matches in each file. (This often differs from the number of matching lines) cオプションを使います。

agのインストールとzshの補完

インストール ggreer/the_silver_searcher · GitHub brew install the_silver_searcher zsh補完 glidenote/ag-zsh-completion · GitHub↑から_agファイルを/usr/share/zsh/site-functions/ もしくは /usr/local/share/zsh/site-functions/に配置。あとは .zsh…