From 47571bf1c5ef12c02a26c4cc32ecb65ee4e1a48f Mon Sep 17 00:00:00 2001 From: Moritz Augsburger Date: Wed, 15 Apr 2009 12:45:18 +0200 Subject: [PATCH] not every user is allowed to read logfiles... Better way would be: create a command to test -r $file for all files in ARGV, prepend sudo only if not readable Signed-off-by: Moritz Augsburger --- etc/zsh/zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 86e5243..4734ecb 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2290,9 +2290,9 @@ if [[ -r /etc/debian_version ]] ; then fi #a1# Take a look at the syslog: \kbd{\$PAGER /var/log/syslog} - alias llog="$PAGER /var/log/syslog" # take a look at the syslog + salias llog="$PAGER /var/log/syslog" # take a look at the syslog #a1# Take a look at the syslog: \kbd{tail -f /var/log/syslog} - alias tlog="tail -f /var/log/syslog" # follow the syslog + salias tlog="tail -f /var/log/syslog" # follow the syslog fi # sort installed Debian-packages by size -- 2.1.4