[ Frank Terbeck ]
* vimrc: merged /etc/vim/vimrc and /etc/skel/.vimrc into one file
* zshrc: mark specialized run-help functions for autoloading
+ * zshrc: remove reload(). 'exec zsh' is a much more robust way of
+ reloading the configuration.
[ Michael Prokop ]
* /etc/grml/script-functions: replace 'type -p' with 'which'.
* zshrc: Removing shtgz(). shtar() does the same, just portably.
* zshrc: Remove broken ytdl() function.
- -- Frank Terbeck <ft@grml.org> Fri, 21 Aug 2009 18:35:07 +0200
+ -- Frank Terbeck <ft@grml.org> Tue, 25 Aug 2009 22:06:05 +0200
grml-etc-core (0.3.73) unstable; urgency=low
#f1# Reload an autoloadable function
freload() { while (( $# )); do; unfunction $1; autoload -U $1; shift; done }
-
-# TODO: Who really uses reload()? The proper way to reload a zsh setup is to
-# actually restart the shell via 'exec zsh'. And reload with arguments is the
-# same as freload() above. -ft
-#f1# Reload zsh setup
-reload() {
- if [[ "$#*" -eq 0 ]] ; then
- [[ -r ~/.zshrc ]] && . ~/.zshrc
- else
- local fn
- for fn in "$@"; do
- unfunction $fn
- autoload -U $fn
- done
- fi
-}
-compdef _functions reload freload
+compdef _functions freload
#f1# List symlinks in detail (more detailed version of 'readlink -f' and 'whence -s')
sll() {