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

CONFIG_SHELL_HISTORY

Enable history in shell

Type: bool

Help

Enable commands history. History can be accessed using up and down
arrows or Ctrl+n and Ctrl+p meta keys.

Direct dependencies

SHELL

(Includes any dependencies from ifs and menus.)

Default

Symbols selected by this symbol

Kconfig definition

At subsys/shell/Kconfig:175

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:45

Menu path: (Top) → Sub Systems and OS Services → Shell

config SHELL_HISTORY
    bool "Enable history in shell"
    default y if !SHELL_MINIMAL
    select RING_BUFFER
    depends on SHELL
    help
      Enable commands history. History can be accessed using up and down
      arrows or Ctrl+n and Ctrl+p meta keys.

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