commit | fe6cdf34977dde92c4dc939a9ced44c7f12a4117 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Thu Jun 27 00:17:27 2019 +0200 |
committer | Tom Rini <trini@konsulko.com> | Thu Jul 18 11:31:25 2019 -0400 |
tree | a3c9312841756f7caea73b7abdfa129c99709b40 | |
parent | db58d9e43e6ab53933aae2ea528648343931c6fb [diff] |
common: Fix autocompletion with CONFIG_CMDLINE_PS_SUPPORT The autocompletion did not work if CONFIG_CMDLINE_PS_SUPPORT was enabled because U-Boot was comparing the prompt string with CONFIG_SYS_PROMPT . While this works if CONFIG_CMDLINE_PS_SUPPORT is disabled, this no longer works if it's enabled because user can override the PS1 . Fix this by checking prompt string against the current PS1 value. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Tom Rini <trini@konsulko.com>