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
Oh My Zsh
Commits
e0b27126
Commit
e0b27126
authored
May 05, 2012
by
mapc
Browse files
Add download shortcuts
parent
4c0b5c71
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/singlechar/singlechar.plugin.zsh
View file @
e0b27126
...
@@ -17,11 +17,13 @@
...
@@ -17,11 +17,13 @@
default GREP
grep
default GREP
grep
default ROOT
sudo
default ROOT
sudo
default WGET wget
default CURL curl
###########################
###########################
# Alias
# Alias
# CAT, GREP
# CAT, GREP
, CURL, WGET
alias
y
=
'"$GREP" -i'
alias
y
=
'"$GREP" -i'
alias
n
=
'"$GREP" -vi'
alias
n
=
'"$GREP" -vi'
...
@@ -30,6 +32,9 @@ alias c='cat'
...
@@ -30,6 +32,9 @@ alias c='cat'
alias
w
=
'cat >'
alias
w
=
'cat >'
alias
a
=
'cat >>'
alias
a
=
'cat >>'
alias
d
=
'"$WGET"'
alias
u
=
'"$CURL"'
# XARGS
# XARGS
alias
x
=
'xargs'
alias
x
=
'xargs'
...
@@ -41,6 +46,9 @@ alias xc='xargs cat'
...
@@ -41,6 +46,9 @@ alias xc='xargs cat'
alias
xw
=
'xargs cat >'
alias
xw
=
'xargs cat >'
alias
xa
=
'xargs cat >>'
alias
xa
=
'xargs cat >>'
alias
xd
=
'xargs "$WGET"'
alias
xu
=
'xargs "$CURL"'
# SUDO
# SUDO
alias
s
=
'"$ROOT"'
alias
s
=
'"$ROOT"'
...
@@ -53,3 +61,6 @@ alias sxn='"$ROOT" xargs "$GREP" -iv'
...
@@ -53,3 +61,6 @@ alias sxn='"$ROOT" xargs "$GREP" -iv'
alias
sxc
=
'"$ROOT" xargs cat'
alias
sxc
=
'"$ROOT" xargs cat'
alias
sxw
=
'"$ROOT" xargs cat >'
alias
sxw
=
'"$ROOT" xargs cat >'
alias
sxa
=
'"$ROOT" xargs cat >>'
alias
sxa
=
'"$ROOT" xargs cat >>'
alias
sxd
=
'"$ROOT" xargs "$WGET"'
alias
sxu
=
'"$ROOT" xargs "$CURL"'
\ No newline at end of file
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