Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
b1977d40
Commit
b1977d40
authored
May 13, 2012
by
mapc
Browse files
Make grep recoursive
parent
d573cddc
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/singlechar/singlechar.plugin.zsh
View file @
b1977d40
...
...
@@ -27,14 +27,14 @@ env_default PAGER less
# CAT, GREP, CURL, WGET
alias
y
=
'"$GREP" -i'
alias
n
=
'"$GREP" -vi'
alias
y
=
'"$GREP" -
R
i'
alias
n
=
'"$GREP" -
R
vi'
alias
f.
=
'find . | "$GREP"'
alias
f:
=
'find'
alias
f
=
'"$GREP" -li'
alias
fn
=
'"$GREP" -lvi'
alias
f
=
'"$GREP" -
R
li'
alias
fn
=
'"$GREP" -
R
lvi'
alias
w
=
'echo >'
alias
a
=
'echo >>'
...
...
@@ -56,14 +56,14 @@ alias a:='cat >>'
alias
x
=
'xargs'
alias
xy
=
'xargs "$GREP" -i'
alias
xn
=
'xargs "$GREP" -iv'
alias
xy
=
'xargs "$GREP" -
R
i'
alias
xn
=
'xargs "$GREP" -
R
iv'
alias
xf.
=
'xargs find . | "$GREP"'
alias
xf:
=
'xargs find'
alias
xf
=
'xargs "$GREP" -li'
alias
xfn
=
'xargs "$GREP" -lvi'
alias
xf
=
'xargs "$GREP" -
R
li'
alias
xfn
=
'xargs "$GREP" -
R
lvi'
alias
xw
=
'xargs echo >'
alias
xa
=
'xargs echo >>'
...
...
@@ -83,14 +83,14 @@ alias xa:='xargs >>'
alias
s
=
'"$ROOT"'
alias
sy
=
'"$ROOT" "$GREP" -i'
alias
sn
=
'"$ROOT" "$GREP" -iv'
alias
sy
=
'"$ROOT" "$GREP" -
R
i'
alias
sn
=
'"$ROOT" "$GREP" -
R
iv'
alias
sf.
=
'"$ROOT" find . | "$GREP"'
alias
sf:
=
'"$ROOT" find'
alias
sf
=
'"$ROOT" "$GREP" -li'
alias
sfn
=
'"$ROOT" "$GREP" -lvi'
alias
sf
=
'"$ROOT" "$GREP" -
R
li'
alias
sfn
=
'"$ROOT" "$GREP" -
R
lvi'
alias
sw
=
'"$ROOT" echo >'
alias
sa
=
'"$ROOT" echo >>'
...
...
@@ -109,8 +109,8 @@ alias sa:='"$ROOT" cat >>'
alias
sx
=
'"$ROOT" xargs'
alias
sxy
=
'"$ROOT" xargs "$GREP" -i'
alias
sxn
=
'"$ROOT" xargs "$GREP" -iv'
alias
sxy
=
'"$ROOT" xargs "$GREP" -
R
i'
alias
sxn
=
'"$ROOT" xargs "$GREP" -
R
iv'
alias
sxf.
=
'"$ROOT" xargs find . | "$GREP"'
alias
sxf:
=
'"$ROOT" xargs find'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment