Merge pull request #124 from derekstavis/require-cleanups

require: Cleanup previously sourced init functions
This commit is contained in:
Bruno 2015-10-16 08:36:48 +11:00
commit d16796b63d

View File

@ -23,4 +23,8 @@ function require -a name
and emit init_$name $path
end
end
functions -e init # Cleanup previously sourced function
return 0
end