From 9cda4c27ae54bb41714d00c196664981ea16003a Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sat, 31 May 2008 08:30:36 +0200 Subject: [PATCH 1/1] add aliases to use less instead of tail on logs --- .zsh/zshrc/30_aliases | 5 +++++ 1 file changed, 5 insertions(+) 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' -- 2.39.5