-
Notifications
You must be signed in to change notification settings - Fork 380
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(mr): avoid ${var/pat/$'...'} for compat42 in bash >= 4.3
In bash >= 4.3 with `shopt -s compat42` enabled, ${var/pat/$'...'} would produce extra single quotations around the replacements. The mr completion uses $'\n' to insert delimiter, but the delimiter does not need to be the newline in this context. In this patch, we can instead insert a space.
- Loading branch information
1 parent
0afc2e4
commit b5ae5fa
Showing
2 changed files
with
4 additions
and
1 deletion.
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
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