commit 9373ca5c2149042a9aeedf8c99450deb50c0ce56
Author: James Slagle <email address hidden>
Date: Tue Mar 28 13:06:41 2017 -0400
Fix broken command prompt
Interactive editing of the command line was broken due to the usage of
$PROMPT_COMMAND. The cursor would often be placed at the wrong location
when editing history due to prompt length confusion. We already had the
OS_CLOUDNAME variable for this purpose, and I took the prompt setting
logic from what we previously used in tripleo-incubator:
Reviewed: https:/ /review. openstack. org/450893 /git.openstack. org/cgit/ openstack/ instack- undercloud/ commit/ ?id=9373ca5c214 9042a9aeedf8c99 450deb50c0ce56
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9373ca5c2149042 a9aeedf8c99450d eb50c0ce56
Author: James Slagle <email address hidden>
Date: Tue Mar 28 13:06:41 2017 -0400
Fix broken command prompt
Interactive editing of the command line was broken due to the usage of COMMAND. The cursor would often be placed at the wrong location
$PROMPT_
when editing history due to prompt length confusion. We already had the
OS_CLOUDNAME variable for this purpose, and I took the prompt setting
logic from what we previously used in tripleo-incubator:
http:// git.openstack. org/cgit/ openstack/ tripleo- incubator/ tree/cloudpromp t
A previous attempt to fix this bug is in c53f33371bae0ba a3c0e93340672b9
I55b8a9222f
but it seems there is some disagreement on the approach.
Change-Id: Iae1d0e942475eb ace38c2afd24b08 cece14c931d
Partial-Bug: #1673459