Comment 5 for bug 1673459

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to instack-undercloud (master)

Reviewed: https://review.openstack.org/450893
Committed: https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=9373ca5c2149042a9aeedf8c99450deb50c0ce56
Submitter: Jenkins
Branch: master

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:

    http://git.openstack.org/cgit/openstack/tripleo-incubator/tree/cloudprompt

    A previous attempt to fix this bug is in
    I55b8a9222fc53f33371bae0baa3c0e93340672b9
    but it seems there is some disagreement on the approach.

    Change-Id: Iae1d0e942475ebace38c2afd24b08cece14c931d
    Partial-Bug: #1673459