X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/80612165af8557e0d1b82b5760a5c9c471d564dc..769b4c074545f45bd87f82298f93272c087199fd:/.zsh/zshrc/30_aliases?ds=sidebyside diff --git a/.zsh/zshrc/30_aliases b/.zsh/zshrc/30_aliases index e5e6e8a..6dcdfbf 100644 --- a/.zsh/zshrc/30_aliases +++ b/.zsh/zshrc/30_aliases @@ -36,6 +36,8 @@ alias ll='ls -l' alias l=ll alias la='ls -a' alias lla='ls -la' +alias lrt='ls -lrt' +alias lart='ls -lart' # List only directories and symbolic links that point to directories alias lsd='ls -ld *(-/DN)' @@ -44,7 +46,7 @@ alias lssmall="ls -Srl *(.oL[1,10])" alias lsnew="ls -rl *(D.om[1,10])" alias lsold="ls -rtlh *(D.om[1,10])" -cd () { builtin cd $* && ll } +cd () { builtin cd "$@" && lrt } #_cd_l() { ll } #chpwd_functions+=_cd_l @@ -77,10 +79,15 @@ else alias t='tail -f' fi alias tsl='t /var/log/syslog' +alias lsl='sensible-pager /var/log/syslog' alias tml='t /var/log/mail.log' +alias lml='sensible-pager /var/log/mail.log' alias tal='t /var/log/auth.log' +alias lal='sensible-pager /var/log/auth.log' alias tdl='t /var/log/daemon.log' +alias ldl='sensible-pager /var/log/daemon.log' alias tkl='t /var/log/kern.log' +alias lkl='sensible-pager /var/log/kern.log' alias px='ps afux' alias mps='ps -ao user,pcpu,start,command'