From a5156c54cb059706a085231e209384ac1043da82 Mon Sep 17 00:00:00 2001 From: liljencrantz Date: Sun, 28 Oct 2007 19:11:17 +1000 Subject: [PATCH] Make sure configuration files are only run once darcs-hash:20071028091117-75c98-735febed13f816e2870e90324758ec59d713b1e2.gz --- share/config.fish.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/config.fish.in b/share/config.fish.in index 7681cc1ea..085d8a85e 100644 --- a/share/config.fish.in +++ b/share/config.fish.in @@ -98,8 +98,10 @@ end # # Whenever a prompt is displayed, make sure that interactive # mode-specific initializations have been performed. +# This handler removes itself after it is first called. # function __fish_on_interactive --on-event fish_prompt __fish_config_interactive + functions -e __fish_on_interactive end