Commit 712f850f authored by mapc's avatar mapc
Browse files

Add pager shortcuts

parent e0b27126
...@@ -20,6 +20,8 @@ default ROOT sudo ...@@ -20,6 +20,8 @@ default ROOT sudo
default WGET wget default WGET wget
default CURL curl default CURL curl
env_defaul PAGER less
########################### ###########################
# Alias # Alias
...@@ -32,6 +34,8 @@ alias c='cat' ...@@ -32,6 +34,8 @@ alias c='cat'
alias w='cat >' alias w='cat >'
alias a='cat >>' alias a='cat >>'
alias p='"$PAGER"'
alias d='"$WGET"' alias d='"$WGET"'
alias u='"$CURL"' alias u='"$CURL"'
...@@ -46,6 +50,8 @@ alias xc='xargs cat' ...@@ -46,6 +50,8 @@ alias xc='xargs cat'
alias xw='xargs cat >' alias xw='xargs cat >'
alias xa='xargs cat >>' alias xa='xargs cat >>'
alias xp='xargs "$PAGER"'
alias xd='xargs "$WGET"' alias xd='xargs "$WGET"'
alias xu='xargs "$CURL"' alias xu='xargs "$CURL"'
...@@ -62,5 +68,7 @@ alias sxc='"$ROOT" xargs cat' ...@@ -62,5 +68,7 @@ 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 sxp='"$ROOT" xargs "$PAGER"'
alias sxd='"$ROOT" xargs "$WGET"' alias sxd='"$ROOT" xargs "$WGET"'
alias sxu='"$ROOT" xargs "$CURL"' alias sxu='"$ROOT" xargs "$CURL"'
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment