diff options
Diffstat (limited to 'fish/fish.c')
-rw-r--r-- | fish/fish.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fish/fish.c b/fish/fish.c index 32d6f9f1..2411f721 100644 --- a/fish/fish.c +++ b/fish/fish.c @@ -1304,7 +1304,11 @@ cleanup_readline (void) } close (fd); +#ifdef HAVE_APPEND_HISTORY (void) append_history (nr_history_lines, histfile); +#else + (void) write_history (histfile); +#endif } #endif } |