mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
Make grep recoursive
This commit is contained in:
parent
d573cddcc9
commit
b1977d4049
1 changed files with 14 additions and 14 deletions
|
@ -27,14 +27,14 @@ env_default PAGER less
|
||||||
|
|
||||||
# CAT, GREP, CURL, WGET
|
# CAT, GREP, CURL, WGET
|
||||||
|
|
||||||
alias y='"$GREP" -i'
|
alias y='"$GREP" -Ri'
|
||||||
alias n='"$GREP" -vi'
|
alias n='"$GREP" -Rvi'
|
||||||
|
|
||||||
alias f.='find . | "$GREP"'
|
alias f.='find . | "$GREP"'
|
||||||
alias f:='find'
|
alias f:='find'
|
||||||
|
|
||||||
alias f='"$GREP" -li'
|
alias f='"$GREP" -Rli'
|
||||||
alias fn='"$GREP" -lvi'
|
alias fn='"$GREP" -Rlvi'
|
||||||
|
|
||||||
alias w='echo >'
|
alias w='echo >'
|
||||||
alias a='echo >>'
|
alias a='echo >>'
|
||||||
|
@ -56,14 +56,14 @@ alias a:='cat >>'
|
||||||
|
|
||||||
alias x='xargs'
|
alias x='xargs'
|
||||||
|
|
||||||
alias xy='xargs "$GREP" -i'
|
alias xy='xargs "$GREP" -Ri'
|
||||||
alias xn='xargs "$GREP" -iv'
|
alias xn='xargs "$GREP" -Riv'
|
||||||
|
|
||||||
alias xf.='xargs find . | "$GREP"'
|
alias xf.='xargs find . | "$GREP"'
|
||||||
alias xf:='xargs find'
|
alias xf:='xargs find'
|
||||||
|
|
||||||
alias xf='xargs "$GREP" -li'
|
alias xf='xargs "$GREP" -Rli'
|
||||||
alias xfn='xargs "$GREP" -lvi'
|
alias xfn='xargs "$GREP" -Rlvi'
|
||||||
|
|
||||||
alias xw='xargs echo >'
|
alias xw='xargs echo >'
|
||||||
alias xa='xargs echo >>'
|
alias xa='xargs echo >>'
|
||||||
|
@ -83,14 +83,14 @@ alias xa:='xargs >>'
|
||||||
|
|
||||||
alias s='"$ROOT"'
|
alias s='"$ROOT"'
|
||||||
|
|
||||||
alias sy='"$ROOT" "$GREP" -i'
|
alias sy='"$ROOT" "$GREP" -Ri'
|
||||||
alias sn='"$ROOT" "$GREP" -iv'
|
alias sn='"$ROOT" "$GREP" -Riv'
|
||||||
|
|
||||||
alias sf.='"$ROOT" find . | "$GREP"'
|
alias sf.='"$ROOT" find . | "$GREP"'
|
||||||
alias sf:='"$ROOT" find'
|
alias sf:='"$ROOT" find'
|
||||||
|
|
||||||
alias sf='"$ROOT" "$GREP" -li'
|
alias sf='"$ROOT" "$GREP" -Rli'
|
||||||
alias sfn='"$ROOT" "$GREP" -lvi'
|
alias sfn='"$ROOT" "$GREP" -Rlvi'
|
||||||
|
|
||||||
alias sw='"$ROOT" echo >'
|
alias sw='"$ROOT" echo >'
|
||||||
alias sa='"$ROOT" echo >>'
|
alias sa='"$ROOT" echo >>'
|
||||||
|
@ -109,8 +109,8 @@ alias sa:='"$ROOT" cat >>'
|
||||||
|
|
||||||
alias sx='"$ROOT" xargs'
|
alias sx='"$ROOT" xargs'
|
||||||
|
|
||||||
alias sxy='"$ROOT" xargs "$GREP" -i'
|
alias sxy='"$ROOT" xargs "$GREP" -Ri'
|
||||||
alias sxn='"$ROOT" xargs "$GREP" -iv'
|
alias sxn='"$ROOT" xargs "$GREP" -Riv'
|
||||||
|
|
||||||
alias sxf.='"$ROOT" xargs find . | "$GREP"'
|
alias sxf.='"$ROOT" xargs find . | "$GREP"'
|
||||||
alias sxf:='"$ROOT" xargs find'
|
alias sxf:='"$ROOT" xargs find'
|
||||||
|
|
Loading…
Reference in a new issue