X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=042ad28c40941437db93d6a1cef1394ea53817be;hb=64aa82a0815d2f3fa6d218db4a71735243f14325;hp=24e979b2b8911dd4850f5bef607c3065db3c1231;hpb=dfc4fb72649668ce8f919eb947102cab3f5af607;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 24e979b..042ad28 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: Sam Mär 17 20:12:26 CET 2007 [mika] +# Latest change: Sam Apr 14 11:01:58 CEST 2007 [mika] ################################################################################ # This file is sourced only for interactive shells. It # should contain commands to set up aliases, functions, @@ -724,6 +724,14 @@ Please use the wodim binary instead' ; return 1" fi fi +# get_tw_cli has been renamed into get_3ware + if [ -x /usr/bin/get_3ware ] ; then + get_tw_cli() { + echo 'Warning: get_tw_cli has been renamed into get_3ware. Invoking get_3ware for you.'>&2 + get_3ware + } + fi + # I hate lacking backward compability, so provide an alternative therefore if ! [ -x /usr/sbin/apache2-ssl-certificate ] ; then function apache2-ssl-certificate(){ @@ -976,7 +984,7 @@ If you want to use xinit anyway please call \"/usr/bin/xinit\"." # list symlinks in detail (more detailed version of 'readlink -f' and 'whence -s') sll() { - [ -z "$1" ] && printf 'usage: %s \n' "$0" && exit 1 + [ -z "$1" ] && printf 'Usage: %s \n' "$0" && return 1 for i in "$@" ; do file=$i while [ -h "$file" ] ; do