The latest development version of this page may be more current than this released 1.14.1 version.
CONFIG_SHELL_HISTORY_BUFFER

History buffer in bytes

Type: int

Help

Number of bytes dedicated for storing executed commands.

Direct dependencies

SHELL_HISTORY && SHELL

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At subsys/shell/Kconfig:110

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:26

Menu path: (top menu) → Shell Options → Enable shell

config SHELL_HISTORY_BUFFER
    int
    prompt "History buffer in bytes" if SHELL_HISTORY && SHELL
    default 1024 if SHELL_HISTORY && SHELL
    depends on SHELL_HISTORY && SHELL
    help
      Number of bytes dedicated for storing executed commands.

(Definitions include propagated dependencies, including from if’s and menus.)