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 <Zephyr>/subsys/shell/Kconfig:175

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/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.)