The latest development version of this page may be more current than this released 2.1.0 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 ifs and menus.)

Default

  • y

Symbols selected by this symbol

Kconfig definition

At subsys/shell/Kconfig:96

Included via Kconfig:8Kconfig.zephyr:41subsys/Kconfig:24

Menu path: (Top) → Shell

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

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)