[ Frank Terbeck ]
* zshrc: Add persistent dirstack support for shells older than 4.2.0
* zshrc: Make ',.' abbreviation optional [Closes: issue445]
+ * zshrc: remove xunfunction() altogether; it prevented things like
+ 'source ~/.zshrc' from working.
[ Michael Gebetsroither ]
* zshrc: add runit sysv emulation support to Start/Stop/Restart/...
killall (thanks, ft).
* zshenv: set $PATH on Solaris/SunOS.
- -- Michael Prokop <mika@grml.org> Sun, 03 Aug 2008 20:24:37 +0200
+ -- Frank Terbeck <ft@grml.org> Wed, 06 Aug 2008 14:06:36 +0200
grml-etc-core (0.3.50) unstable; urgency=low
# modifications in ~/.zshrc.local
xsource "${HOME}/.zshrc.local"
-# ...and remove utility functions again.
-xunfunction
-
# }}}
### doc strings for external functions from files
return 0
}
-# Remove these functions again, they are of use only in these
-# setup files. This should be called at the end of .zshrc.
-xunfunction() {
- local -a funcs
- funcs=(salias xcat xsource xunfunction zrcautoload)
-
- for func in $funcs ; do
- [[ -n ${functions[$func]} ]] \
- && unfunction $func
- done
- return 0
-}
-
# autoload wrapper - use this one instead of autoload directly
function zrcautoload() {
setopt local_options extended_glob