We want hidden files
e5ee92a41226d98bb014681ed5de25a740c4cb0b
1 parent
fd9a4e8e
bin/ag
+2 -2
| 1 | 1 | #!/bin/sh |
|
| 2 | 2 | ||
| 3 | 3 | # Since ~ has everything in git exclude, ag |
|
| 4 | 4 | # wouldn't find anything without -U. |
|
| 5 | 5 | if [ "$PWD" = "$HOME" ]; then |
|
| 6 | - | /usr/bin/ag -U "$@" |
|
| 6 | + | /usr/bin/ag --hidden -U "$@" |
|
| 7 | 7 | else |
|
| 8 | - | /usr/bin/ag "$@" |
|
| 8 | + | /usr/bin/ag --hidden "$@" |
|
| 9 | 9 | fi |