summaryrefslogtreecommitdiff
path: root/etc/functions/reload
blob: f4fc3998c04966866bae63cb5d2ffae3254140cc (plain)
1
2
3
4
5
6
7
8
9
10
11
## vim:ft=zsh
if [[ ${#*} == 0 ]] {
	autoload xsource
	xsource ~/.zshrc
} else {
	local function
	for function in $@; {
		unfunction $function
		autoload $function
	}
}