-
-
Notifications
You must be signed in to change notification settings - Fork 599
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(bash): fix error by the use of ${PS1@P} in bash < 4.4
The parameter expansions for the prompt strings, `${PS1@P}`, is only available in bash >= 4.4. In Bash 4.3 or below w/ bash-preexec, the current implementation produces error messages. There is no way to evaluate PS1 with bash < 4.4, so we give up the adjustments for multiline prompts in bash < 4.4 in this patch.
- Loading branch information
1 parent
7f44358
commit 794fde4
Showing
1 changed file
with
21 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters