make the zshrc play nice with really old zsh (at least 4.0.2 tested)

This commit is contained in:
dave 2008-11-25 01:59:32 -06:00
parent c2754243fa
commit 138fcb2f54

10
zshrc
View file

@ -3,17 +3,17 @@
# Trivial modifications: David Majnemer
# vim:set nowrap:
autoload -Uz compinit; compinit -d "${HOME}/.zsh/.zcompdump"
autoload -U compinit; compinit -d "${HOME}/.zsh/.zcompdump"
autoload -Uz age
autoload -Uz zmv
autoload -U age
autoload -U zmv
if [[ ${ZSH_VERSION//.} -gt 420 ]] ; then
autoload -Uz url-quote-magic
autoload -U url-quote-magic
zle -N self-insert url-quote-magic
fi
autoload -Uz edit-command-line
autoload -U edit-command-line
zle -N edit-command-line
# disable core dumps