X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fskel%2F.zshrc;h=a8eb45272a487f0f9656fedc15c1c7e95ebe4624;hb=9b7b15ea36e0e6227cdec1274f836b0dcf39638e;hp=8196337a053e7af815f074624caafadf2ad455d2;hpb=3d6452fdfc44310b5615eaf61c95cab4c27d9bf8;p=grml-etc-core.git diff --git a/etc/skel/.zshrc b/etc/skel/.zshrc index 8196337..a8eb452 100644 --- a/etc/skel/.zshrc +++ b/etc/skel/.zshrc @@ -3,14 +3,18 @@ # 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 Aug 08 21:22:03 CEST 2007 [mika] +# Latest change: Don Dez 06 23:27:51 CET 2007 [mika] ################################################################################ # source ~/.zshrc.global {{{ # see /etc/zsh/zshrc for some general settings # If you don't have write permissions to /etc/zsh/zshrc on your own # copy the file to your $HOME as /.zshrc.global and we source it: -xsource "${HOME}/.zshrc.global" +if type xsource &>/dev/null ; then + xsource "${HOME}/.zshrc.global" +else + . "${HOME}/.zshrc.global" +fi # }}} # check whether global file has been read {{{ @@ -1243,7 +1247,11 @@ gethgsnap() { # this allows us to stay in sync with /etc/skel/.zshrc # through 'ln -s /etc/skel/.zshrc ~/.zshrc' and put own # modifications in ~/.zshrc.local -xsource "${HOME}/.zshrc.local" +if type xsource &>/dev/null ; then + xsource "${HOME}/.zshrc.local" +else + . "${HOME}/.zshrc.local" +fi # ...and remove utility functions again. xunfunction @@ -1253,4 +1261,4 @@ xunfunction ### doc strings for external functions from files #m# f5 grml-wallpaper() Sets a wallpaper (try completion for possible values) ## END OF FILE ################################################################# -# vim:foldmethod=marker +# vim:foldmethod=marker autoindent expandtab shiftwidth=4