@ -195,10 +195,10 @@ f(){
}
dgrep(){
local pattern="$1"
local pattern="$*"
# auto-exported in aliases.sh when iterating git repos
# shellcheck disable=SC2154
ls "$docs/*$pattern*" 2>/dev/null
ls "$docs/*$1*" 2>/dev/null
# shellcheck disable=SC2046,SC2033
grep -iR "$pattern" $(find ~/docs "$docs" -type f -maxdepth 1 2>/dev/null | grep -v '/\.')