mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-23 01:46:35 +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…
Reference in New Issue
Block a user