mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 15:20:08 +00:00
Add pager shortcuts
This commit is contained in:
parent
e0b2712644
commit
712f850f3a
1 changed files with 8 additions and 0 deletions
|
@ -20,6 +20,8 @@ default ROOT sudo
|
|||
default WGET wget
|
||||
default CURL curl
|
||||
|
||||
env_defaul PAGER less
|
||||
|
||||
###########################
|
||||
# Alias
|
||||
|
||||
|
@ -32,6 +34,8 @@ alias c='cat'
|
|||
alias w='cat >'
|
||||
alias a='cat >>'
|
||||
|
||||
alias p='"$PAGER"'
|
||||
|
||||
alias d='"$WGET"'
|
||||
alias u='"$CURL"'
|
||||
|
||||
|
@ -46,6 +50,8 @@ alias xc='xargs cat'
|
|||
alias xw='xargs cat >'
|
||||
alias xa='xargs cat >>'
|
||||
|
||||
alias xp='xargs "$PAGER"'
|
||||
|
||||
alias xd='xargs "$WGET"'
|
||||
alias xu='xargs "$CURL"'
|
||||
|
||||
|
@ -62,5 +68,7 @@ alias sxc='"$ROOT" xargs cat'
|
|||
alias sxw='"$ROOT" xargs cat >'
|
||||
alias sxa='"$ROOT" xargs cat >>'
|
||||
|
||||
alias sxp='"$ROOT" xargs "$PAGER"'
|
||||
|
||||
alias sxd='"$ROOT" xargs "$WGET"'
|
||||
alias sxu='"$ROOT" xargs "$CURL"'
|
Loading…
Reference in a new issue