From: martin f. krafft Date: Tue, 17 Jun 2008 08:19:33 +0000 (+0200) Subject: use mtail for tailing files if available X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/b1370ab382637f6767382c54d8e97fb8f0895a0a?hp=-c use mtail for tailing files if available --- b1370ab382637f6767382c54d8e97fb8f0895a0a 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'