From 83c8571605815245c86e29c20c9958b922825a9b Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 4 Jun 2007 10:45:15 +0200 Subject: [PATCH] Added alias llog, use sudo -s and mention alias -s pl... --- debian/changelog | 9 +++++++++ etc/skel/.zshrc | 1 + etc/zsh/zshrc | 5 +++-- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index cc579f9..ee6bdb1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +grml-etc-core (0.3.8) unstable; urgency=low + + * /etc/zsh/zshrc: + - Mention "alias -s pl='perl -S'" within the zsh-mime-setup stuff + - Use 'sudo -s' for alias su. + - Added alias llog for "$PAGER /var/log/syslog" + + -- Michael Prokop Mon, 04 Jun 2007 10:43:51 +0200 + grml-etc-core (0.3.7) unstable; urgency=low * /etc/zsh/zshrc and /etc/skel/.zshrc: some more checks whether diff --git a/etc/skel/.zshrc b/etc/skel/.zshrc index 10f900e..42409f1 100644 --- a/etc/skel/.zshrc +++ b/etc/skel/.zshrc @@ -24,6 +24,7 @@ # autoloading stuff {{{ # associate types and extensions (be aware with perl scripts and anwanted behaviour!) # type zsh-mime-setup &>/dev/null || { autoload zsh-mime-setup && zsh-mime-setup } +# alias -s pl='perl -S' # }}} # completion system {{{ diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 644070f..dfbc02e 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -788,8 +788,9 @@ Enjoy your grml system with the zsh!$reset_color" fi } - isgrmlcd && alias su="sudo su" # change to user root - alias tlog="tail -f /var/log/syslog" # take a look at the syslog + isgrmlcd && alias su="sudo -s" # get a root shell + alias llog="$PAGER /var/log/syslog" # take a look at the syslog + alias tlog="tail -f /var/log/syslog" # follow the syslog alias zshskel="source /etc/skel/.zshrc" # source skeleton zshrc fi -- 2.1.4