-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
24 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
function _tide_item_status | ||
if string match -qv 0 $_tide_pipestatus # If there is a failure anywhere in the pipestatus | ||
if test "$_tide_pipestatus" = 1 # If simple failure | ||
contains character $_tide_left_items || tide_status_bg_color=$tide_status_bg_color_failure \ | ||
test "$tide_status_display" = 0 && contains character $_tide_left_items || tide_status_bg_color=$tide_status_bg_color_failure \ | ||
tide_status_color=$tide_status_color_failure _tide_print_item status $tide_status_icon_failure' ' 1 | ||
else | ||
fish_status_to_signal $_tide_pipestatus | string replace SIG '' | string join '|' | read -l out | ||
test $_tide_status = 0 && _tide_print_item status $tide_status_icon' ' $out || | ||
tide_status_bg_color=$tide_status_bg_color_failure tide_status_color=$tide_status_color_failure \ | ||
_tide_print_item status $tide_status_icon_failure' ' $out | ||
end | ||
else if not contains character $_tide_left_items | ||
else if test "$tide_status_display" = 2 || not contains character $_tide_left_items | ||
_tide_print_item status $tide_status_icon | ||
end | ||
end |
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
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