diff options
Diffstat (limited to 'shell/hush.c')
-rw-r--r-- | shell/hush.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/hush.c b/shell/hush.c index e698e6c52..d3e957c2f 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -7614,6 +7614,10 @@ int hush_main(int argc, char **argv) | |||
7614 | //set_local_var(xasprintf("HISTFILE=%s", ...)); | 7614 | //set_local_var(xasprintf("HISTFILE=%s", ...)); |
7615 | } | 7615 | } |
7616 | } | 7616 | } |
7617 | # if ENABLE_FEATURE_SH_HISTFILESIZE | ||
7618 | hp = get_local_var_value("HISTFILESIZE"); | ||
7619 | G.line_input_state->max_history = size_from_HISTFILESIZE(hp); | ||
7620 | # endif | ||
7617 | } | 7621 | } |
7618 | # endif | 7622 | # endif |
7619 | #endif | 7623 | #endif |