:orphan: .. title:: SHELL_HISTORY .. option:: CONFIG_SHELL_HISTORY *Enable history in shell* Type: ``bool`` Help ==== .. code-block:: none Enable commands history. History can be accessed using up and down arrows or Ctrl+n and Ctrl+p meta keys. Direct dependencies =================== \ :option:`SHELL ` *(Includes any dependencies from ifs and menus.)* Default ======= - y if !\ :option:`SHELL_MINIMAL ` Symbols selected by this symbol =============================== - \ :option:`RING_BUFFER ` Kconfig definition ================== At ``/shell/Kconfig:155`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``/Kconfig:45`` Menu path: (Top) → Sub Systems and OS Services → Shell .. code-block:: kconfig 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.)*