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

Enable history in shell

Type: bool

Help

Enable commands history. History can be accessed using up and down arrows.

Direct dependencies

SHELL

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

Defaults

Kconfig definition

At subsys/shell/Kconfig:101

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

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

config SHELL_HISTORY
    bool
    prompt "Enable history in shell" if SHELL
    default "y" if SHELL
    depends on SHELL
    help
      Enable commands history. History can be accessed using up and down
      arrows.

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