mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-23 04:40:12 +08:00
Merge pull request #124 from derekstavis/require-cleanups
require: Cleanup previously sourced init functions
This commit is contained in:
commit
d16796b63d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user