10 lines
133 B
Bash
Executable File

#!/usr/bin/env sh
if [ "$(pwd)" = "${HOME}" ]; then
git ls-files
#ag -U --hidden --ignore ~/src -g "" $@
else
ag -g "" $@
fi