From 9e13dd41d5fc7998145b8556cb9627eb1bbb66c0 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sun, 29 Oct 2006 17:51:15 +0100 Subject: [PATCH] - deactivate smiley on right side of prompt by default, uncomment the line if you want to use it - function isgrmlsmall: check whether we are on a grml system at all --- debian/changelog | 7 +++++-- etc/zsh/zshrc | 14 ++++++++++---- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index 91becd4..c704514 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,7 +1,10 @@ grml-etc-core (0.1-29) unstable; urgency=low - * /etc/zsh/zshrc: added isgrmlsmall() and set $EDITOR - according to grml flavour, thanks - Frank Terbeck! + * /etc/zsh/zshrc: + - added isgrmlsmall() and set $EDITOR according to grml flavour, + thanks - Frank Terbeck! + - deactivate smiley on right side of prompt by default, uncomment + the line if you want to use it * /etc/skel/.zshrc: add http://zshwiki.org/home/examples/zleiab but do not activate it by default * /etc/skel/.hgrc: adjust username for "generic user" diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 70783ba..0195279 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -3,7 +3,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Mit Okt 25 23:44:27 CEST 2006 [mika] +# Latest change: Son Okt 29 17:49:13 CET 2006 [mika] ################################################################################ # This file is sourced only for interactive shells. It # should contain commands to set up aliases, functions, @@ -39,9 +39,13 @@ return 1 } - isgrmlsmall() { + if isgrml ; then + isgrmlsmall() { [[ ${${${(f)"$(