1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-25 15:20:08 +00:00

Add download shortcuts

This commit is contained in:
mapc 2012-05-05 16:03:48 +02:00
parent 4c0b5c71d5
commit e0b2712644

View file

@ -17,11 +17,13 @@
default GREP grep
default ROOT sudo
default WGET wget
default CURL curl
###########################
# Alias
# CAT, GREP
# CAT, GREP, CURL, WGET
alias y='"$GREP" -i'
alias n='"$GREP" -vi'
@ -30,6 +32,9 @@ alias c='cat'
alias w='cat >'
alias a='cat >>'
alias d='"$WGET"'
alias u='"$CURL"'
# XARGS
alias x='xargs'
@ -41,6 +46,9 @@ alias xc='xargs cat'
alias xw='xargs cat >'
alias xa='xargs cat >>'
alias xd='xargs "$WGET"'
alias xu='xargs "$CURL"'
# SUDO
alias s='"$ROOT"'
@ -53,3 +61,6 @@ alias sxn='"$ROOT" xargs "$GREP" -iv'
alias sxc='"$ROOT" xargs cat'
alias sxw='"$ROOT" xargs cat >'
alias sxa='"$ROOT" xargs cat >>'
alias sxd='"$ROOT" xargs "$WGET"'
alias sxu='"$ROOT" xargs "$CURL"'