mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-14 00:47:30 +00:00
Prompt demo: Only the unmatched quote is an error
The text after is normal quoted text since
822b53c67a
.
We might want to find nicer error text.
Fixes #8260.
This commit is contained in:
parent
23e6698dc8
commit
4194977569
2 changed files with 6 additions and 2 deletions
|
@ -162,7 +162,7 @@ function fish_config --description "Launch fish's web based configuration"
|
|||
set_color normal
|
||||
echo -ns (set_color $fish_color_command) echo
|
||||
echo -ns (set_color normal) ' '
|
||||
echo -s (set_color $fish_color_error) "'Errors are the portal to discovery"
|
||||
echo -s (set_color $fish_color_error) "'" (set_color $fish_color_quote) "Errors are the portal to discovery"
|
||||
set_color normal
|
||||
echo -ns (set_color $fish_color_command) Th
|
||||
set_color normal
|
||||
|
|
|
@ -65,7 +65,11 @@ fish cannot change the background color of your terminal. Refer to your terminal
|
|||
ng-mouseenter="csHoveredType = 'error'"
|
||||
ng-mouseleave="csHoveredType = false"
|
||||
data-ng-style="{ 'color': interpret_color(selectedColorScheme.error)}"
|
||||
ng-click="selectColorSetting('error')">'Errors are the portals to discovery</span>
|
||||
ng-click="selectColorSetting('error')">'</span><span ng-class="{cs_clickable: customizationActive, cs_editing: csEditingType == 'quote'}"
|
||||
ng-mouseenter="csHoveredType = 'quote'"
|
||||
ng-mouseleave="csHoveredType = false"
|
||||
data-ng-style="{ 'color': interpret_color(selectedColorScheme.quote)}"
|
||||
ng-click="selectColorSetting('quote')">Errors are the portals to discovery</span>
|
||||
|
||||
<br>
|
||||
|
||||
|
|
Loading…
Reference in a new issue