+grml-etc-core (0.3.39) unstable; urgency=low
+
+ * Move vim vs. vi from /etc/skel/.zshrc.grmlsmall to /etc/zsh/zshrc
+ to make sure it's also fixed for user root.
+
+ -- Michael Prokop <mika@grml.org> Mon, 05 Nov 2007 12:20:44 +0100
+
grml-etc-core (0.3.38) unstable; urgency=low
* Provide e* functions in /etc/grml/lsb-functions again
# Authors: Frank Terbeck <ft@bewatermyfriend.de>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
-# Latest change: Mit Nov 15 21:31:18 CET 2006 [ft]
+# Latest change: Mon Nov 05 12:20:27 CET 2007 [mika]
################################################################################
-# vim is not in grmlsmall
- [[ $EDITOR == vim ]] && EDITOR='vi'
unset abk[V]
unalias 'V' &> /dev/null
unfunction vman &> /dev/null
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
-# Latest change: Don Okt 18 10:22:10 CEST 2007 [mika]
+# Latest change: Mon Nov 05 12:20:29 CET 2007 [mika]
################################################################################
# This file is sourced only for interactive shells. It
# should contain commands to set up aliases, functions,
# {{{ set some variables
#v#
- export EDITOR=${EDITOR:-vim}
+ if type -p vim &>/dev/null ; then
+ export EDITOR=${EDITOR:-vim}
+ else
+ export EDITOR=${EDITOR:-vi}
+ fi
#v#
export MAIL=${MAIL:-/var/mail/$USER}
# if we don't set $SHELL then aterm, rxvt,.. will use /bin/sh or /bin/bash :-/