mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 03:51:14 -03: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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user