updated functions.sh

pull/2/head
Hari Sekhon 5 years ago
parent 8762c202b7
commit df1de8d6ae

@ -237,7 +237,7 @@ dgrep(){
# shellcheck disable=SC2154
ls "$docs/"*"${pattern// /}"* 2>/dev/null
# shellcheck disable=SC2046,SC2033
grep -iR "$pattern" $(find ~/docs "$docs" -type f -maxdepth 1 2>/dev/null | grep -v '/\.')
grep -iER "$pattern" $(find ~/docs "$docs" -type f -maxdepth 1 2>/dev/null | grep -v '/\.')
}
diffl(){

Loading…
Cancel
Save