From: martin f. krafft Date: Sat, 31 May 2008 06:30:36 +0000 (+0200) Subject: add aliases to use less instead of tail on logs X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/9cda4c27ae54bb41714d00c196664981ea16003a?hp=fb8769fc4556cf2fdef03bbcacd913c77a7dcb6a add aliases to use less instead of tail on logs --- diff --git a/.zsh/zshrc/30_aliases b/.zsh/zshrc/30_aliases index e5e6e8a..c13062a 100644 --- a/.zsh/zshrc/30_aliases +++ b/.zsh/zshrc/30_aliases @@ -77,10 +77,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'