Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utilities/bashcomp: Fix PS1 generation on new bash.
The current implementation used to extract PS1 prompt for ovs-vsctl is broken on recent Bash releases. Starting from Bash 4.4 it's possible to use @p expansion in order to get the quoted PS1 directly. This commit makes the 2 bash completion files to use @p expansion in order to get the quoted PS1 on Bash >= 4.4. Reported-at: https://bugzilla.redhat.com/2170344 Reported-by: Martin Necas <[email protected]> Signed-off-by: Timothy Redaelli <[email protected]> Signed-off-by: Ilya Maximets <[email protected]>
- Loading branch information