Enhance writing routines

This commit is contained in:
mapc 2012-05-05 16:17:26 +02:00
parent 88f3f28e8c
commit 67290ffca9

View file

@ -30,15 +30,20 @@ env_default PAGER less
alias y='"$GREP" -i' alias y='"$GREP" -i'
alias n='"$GREP" -vi' alias n='"$GREP" -vi'
alias c='cat' alias w='echo >'
alias w='cat >' alias a='echo >>'
alias a='cat >>'
alias c='cat'
alias p='"$PAGER"' alias p='"$PAGER"'
alias d='"$WGET"' alias d='"$WGET"'
alias u='"$CURL"' alias u='"$CURL"'
# enhanced writeing
alias w:='cat >'
alias a:='cat >>'
# XARGS # XARGS
alias x='xargs' alias x='xargs'
@ -46,15 +51,18 @@ alias x='xargs'
alias xy='xargs "$GREP" -i' alias xy='xargs "$GREP" -i'
alias xn='xargs "$GREP" -iv' alias xn='xargs "$GREP" -iv'
alias xc='xargs cat' alias xw='xargs echo >'
alias xw='xargs cat >' alias xa='xargs echo >>'
alias xa='xargs cat >>'
alias xc='xargs cat'
alias xp='xargs "$PAGER"' alias xp='xargs "$PAGER"'
alias xd='xargs "$WGET"' alias xd='xargs "$WGET"'
alias xu='xargs "$CURL"' alias xu='xargs "$CURL"'
alias xw:='xargs cat >'
alias xa:='xargs >>'
# SUDO # SUDO
alias s='"$ROOT"' alias s='"$ROOT"'
@ -62,14 +70,17 @@ alias s='"$ROOT"'
alias sy='"$ROOT" "$GREP" -i' alias sy='"$ROOT" "$GREP" -i'
alias sn='"$ROOT" "$GREP" -iv' alias sn='"$ROOT" "$GREP" -iv'
alias sc='"$ROOT" cat' alias sw='"$ROOT" echo >'
alias sw='"$ROOT" cat >' alias sa='"$ROOT" echo >>'
alias sa='"$ROOT" cat >>'
alias sc='"$ROOT" cat'
alias sp='"$ROOT" "$PAGER"' alias sp='"$ROOT" "$PAGER"'
alias sd='"$ROOT" "$WGET"' alias sd='"$ROOT" "$WGET"'
alias sw:='"$ROOT" cat >'
alias sa:='"$ROOT" cat >>'
# SUDO-XARGS # SUDO-XARGS
alias sx='"$ROOT" xargs' alias sx='"$ROOT" xargs'
@ -77,11 +88,14 @@ alias sx='"$ROOT" xargs'
alias sxy='"$ROOT" xargs "$GREP" -i' alias sxy='"$ROOT" xargs "$GREP" -i'
alias sxn='"$ROOT" xargs "$GREP" -iv' alias sxn='"$ROOT" xargs "$GREP" -iv'
alias sxc='"$ROOT" xargs cat' alias sxw='"$ROOT" xargs echo >'
alias sxw='"$ROOT" xargs cat >' alias sxa='"$ROOT" xargs echo >>'
alias sxa='"$ROOT" xargs cat >>'
alias sxc='"$ROOT" xargs cat'
alias sxp='"$ROOT" xargs "$PAGER"' alias sxp='"$ROOT" xargs "$PAGER"'
alias sxd='"$ROOT" xargs "$WGET"' alias sxd='"$ROOT" xargs "$WGET"'
alias sxu='"$ROOT" xargs "$CURL"' alias sxu='"$ROOT" xargs "$CURL"'
alias sxw:='"$ROOT" xargs cat >'
alias sxa:='"$ROOT" xargs cat >>'