Make sure configuration files are only run once

darcs-hash:20071028091117-75c98-735febed13f816e2870e90324758ec59d713b1e2.gz
This commit is contained in:
liljencrantz 2007-10-28 19:11:17 +10:00
parent 74cd64ba21
commit a5156c54cb

View file

@ -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