Rename S -> F
This commit is contained in:
parent
d5fc4fe6de
commit
6d23db05c2
2 changed files with 2 additions and 2 deletions
16
bin/f
Executable file
16
bin/f
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
#!/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 "$@"
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo 'Not found'
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue