mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Make sure configuration files are only run once
darcs-hash:20071028091117-75c98-735febed13f816e2870e90324758ec59d713b1e2.gz
This commit is contained in:
parent
74cd64ba21
commit
a5156c54cb
1 changed files with 2 additions and 0 deletions
|
@ -98,8 +98,10 @@ end
|
||||||
#
|
#
|
||||||
# Whenever a prompt is displayed, make sure that interactive
|
# Whenever a prompt is displayed, make sure that interactive
|
||||||
# mode-specific initializations have been performed.
|
# mode-specific initializations have been performed.
|
||||||
|
# This handler removes itself after it is first called.
|
||||||
#
|
#
|
||||||
function __fish_on_interactive --on-event fish_prompt
|
function __fish_on_interactive --on-event fish_prompt
|
||||||
__fish_config_interactive
|
__fish_config_interactive
|
||||||
|
functions -e __fish_on_interactive
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue