You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
716 B
45 lines
716 B
########################### |
|
# Settings |
|
# |
|
# These can be overwritten any time. |
|
# If they are not set yet, they will be |
|
# overwritten with their default values |
|
|
|
default GREP grep |
|
default ROOT sudo |
|
|
|
########################### |
|
# Alias |
|
|
|
# CAT, GREP |
|
|
|
alias y='"$GREP" -i' |
|
alias n='"$GREP" -vi' |
|
|
|
alias c='cat' |
|
alias w='cat >' |
|
alias a='cat >>' |
|
|
|
# XARGS |
|
|
|
alias x='xargs' |
|
|
|
alias xy='xargs "$GREP" -i' |
|
alias xn='xargs "$GREP" -iv' |
|
|
|
alias xc='xargs cat' |
|
alias xw='xargs cat >' |
|
alias xa='xargs cat >>' |
|
|
|
# SUDO |
|
|
|
alias s='"$ROOT"' |
|
|
|
alias sx='"$ROOT" xargs' |
|
|
|
alias sxy='"$ROOT" xargs "$GREP" -i' |
|
alias sxn='"$ROOT" xargs "$GREP" -iv' |
|
|
|
alias sxc='"$ROOT" xargs cat' |
|
alias sxw='"$ROOT" xargs cat >' |
|
alias sxa='"$ROOT" xargs cat >>'
|
|
|