mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-23 04:02:11 +08:00
require: Cleanup previously sourced init functions
This commit is contained in:
parent
3aad380079
commit
ecbc9c5ed3
@ -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