acme/bin/ag+

13 lines
407 B
Text
Raw Normal View History

2017-08-16 15:37:57 +03:00
#!/usr/bin/env bash
if [ ! "$(which ag)" ]; then
echo '+----------------------------------------------------+'
echo '| The Silver Searcher is not found. Go get it tiger! |'
echo '| |'
echo '| https://github.com/ggreer/the_silver_searcher |'
echo '+----------------------------------------------------+'
exit 1
fi
ag --nocolor --noheading "$@"