summaryrefslogtreecommitdiff
path: root/.zsh_functions/autoreload
blob: 59d7272bdf2038840a11f919615b8b741ed8540f (plain)
1
2
3
4
autoreload () {
	unfunction - $@
	autoload -Uz +X - $@
}