[ Michael Prokop ]
* zsh: add alias 'g' for git
+ * zsh: set modelines for vim according to new indenting policy
[ Frank Terbeck ]
* zsh: several small cleanups by ft [thanks!]
# 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
+ xsource "${HOME}/.zshrc.local"
+fi
# ...and remove utility functions again.
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
# 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 Jän 27 23:38:57 CET 2005 [mika]
+# Latest change: Don Dez 06 23:21:30 CET 2007 [mika]
################################################################################
# save output in a variable for later use
zstyle ':completion:*' insert-kept menu
zmodload -i zsh/complist
-# vim:filetype=zsh
## END OF FILE #################################################################
+# vim:filetype=zsh foldmethod=marker autoindent expandtab shiftwidth=4
# 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: Sam Feb 24 19:05:18 CET 2007 [mika]
+# Latest change: Don Dez 06 23:21:33 CET 2007 [mika]
################################################################################
# This file is sourced only for login shells. It
# should contain commands that should be executed only
################################################################################
# nothing yet.
## END OF FILE #################################################################
+# vim:filetype=zsh foldmethod=marker autoindent expandtab shiftwidth=4
# 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: Sam Feb 24 19:06:14 CET 2007 [mika]
+# Latest change: Don Dez 06 23:21:35 CET 2007 [mika]
################################################################################
# Shutdown files (.zlogout and zlogout) are run, when a login shell exits.
clear
## END OF FILE #################################################################
+# vim:filetype=zsh foldmethod=marker autoindent expandtab shiftwidth=4
# 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: Sam Feb 24 18:59:47 CET 2007 [mika]
+# Latest change: Don Dez 06 23:21:02 CET 2007 [mika]
################################################################################
# This file is sourced only for login shells (i.e. shells
# invoked with "-" as the first character of argv[0], and
################################################################################
# nothing yet
## END OF FILE #################################################################
+# vim:filetype=zsh foldmethod=marker autoindent expandtab shiftwidth=4
# 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: Mit Jul 25 15:02:01 CEST 2007 [mika]
+# Latest change: Don Dez 06 23:21:08 CET 2007 [mika]
################################################################################
# This file is sourced on all invocations of the shell.
# It is the 1st file zsh reads; it's read for every shell,
export WRITE_ON_UDEV=yes
## END OF FILE #################################################################
+# vim:filetype=zsh foldmethod=marker autoindent expandtab shiftwidth=4
# 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 Nov 22 11:13:15 CET 2007 [mika]
+# Latest change: Don Dez 06 23:21:21 CET 2007 [mika]
################################################################################
# This file is sourced only for interactive shells. It
# should contain commands to set up aliases, functions,
# }}}
## END OF FILE #################################################################
-# vim:foldmethod=marker expandtab
+# vim:filetype=zsh foldmethod=marker autoindent expandtab shiftwidth=4