summaryrefslogtreecommitdiffstats
path: root/fish/fish.c
diff options
context:
space:
mode:
Diffstat (limited to 'fish/fish.c')
-rw-r--r--fish/fish.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fish/fish.c b/fish/fish.c
index de11b2fe..6192860b 100644
--- a/fish/fish.c
+++ b/fish/fish.c
@@ -1436,6 +1436,7 @@ cleanup_readline (void)
#else
(void) write_history (histfile);
#endif
+ clear_history ();
}
#endif
}