From: Tom Rini Date: Thu, 18 Jul 2019 19:56:58 -0400 Subject: [U-Boot] [PATCH] common: Fix autocompletion with CONFIG_CMDLINE_PS_SUPPORT In-Reply-To: <20190626221727.23415-1-marex@denx.de> References: <20190626221727.23415-1-marex@denx.de> Message-ID: <20190718235658.GX20116@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jun 27, 2019 at 12:17:27AM +0200, Marek Vasut wrote: > 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 > Cc: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: