1. atm-snag

    No comment

    atm-snag
Changes in body
Source | HTML | Preview
@@ -25,11 +25,11 @@
export RG_DEFAULT_OPT='-p'
function rg() {
# separated by :
typeset -a glob;
for p in ${(@s.:.)$(git config grep.defaultFile)}; do
- glob+=--glob; glob+=$p
+ glob+=(--glob $p)
done
command rg $RG_DEFAULT_OPT "$*" "${(@)glob}"
}
```