From b1370ab382637f6767382c54d8e97fb8f0895a0a Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 17 Jun 2008 10:19:33 +0200 Subject: [PATCH] use mtail for tailing files if available --- .zsh/zshrc/30_aliases | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.zsh/zshrc/30_aliases b/.zsh/zshrc/30_aliases index 2817fdc..d6617fc 100644 --- a/.zsh/zshrc/30_aliases +++ b/.zsh/zshrc/30_aliases @@ -73,7 +73,9 @@ compdef _doc doc alias giti='git init && git add . && git commit -minitial\ checkin' -if whence tailf >/dev/null; then +if whence mtail >/dev/null; then + alias t=mtail +elif whence tailf >/dev/null; then alias t=tailf else alias t='tail -f' -- 2.39.5