From f49ed199817269fbfd6806c3c702190d66200516 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 22 May 2009 20:43:20 +0200 Subject: [PATCH 1/1] ~log is already factored out for lless --- .zsh/zshrc/30_aliases | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.zsh/zshrc/30_aliases b/.zsh/zshrc/30_aliases index bdbef14..1f5f0a0 100644 --- a/.zsh/zshrc/30_aliases +++ b/.zsh/zshrc/30_aliases @@ -91,15 +91,15 @@ function lless() { sensible-pager ~log/$1 } compdef '_files -W ~log' lless alias tsl='ltail syslog' -alias lsl='lless ~log/syslog' +alias lsl='lless syslog' alias tml='ltail mail.log' -alias lml='lless ~log/mail.log' +alias lml='lless mail.log' alias tal='ltail auth.log' -alias lal='lless ~log/auth.log' +alias lal='lless auth.log' alias tdl='ltail daemon.log' -alias ldl='lless ~log/daemon.log' +alias ldl='lless daemon.log' alias tkl='ltail kern.log' -alias lkl='lless ~log/kern.log' +alias lkl='lless kern.log' function lgrep() { local pattern="$1"; shift -- 2.39.5