## vim:ft=zsh
## reload the zshrc / some functions
## Usage: reload [function names]

if [[ ${#*} == 0 ]] {
	autoload xsource
	xsource ~/.zshrc
} else {
	local function
	for function in $@; {
		unfunction $function
		autoload $function
	}
}