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

  • y

Symbols selected by this symbol

Kconfig definition

At <Zephyr>/subsys/shell/Kconfig:122

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:41

Menu path: (Top) → Sub Systems and OS Services → 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 or Ctrl+n and Ctrl+p meta keys.

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