From 2620cb349ad4cf4ff88b82a119cdfe2c4ab99dbf Mon Sep 17 00:00:00 2001 From: Ilan Cosman Date: Mon, 22 Feb 2021 14:23:52 -0800 Subject: [PATCH] Support toor and Administrator in context item --- functions/_tide_item_context.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/_tide_item_context.fish b/functions/_tide_item_context.fish index 39168e7..4da861a 100644 --- a/functions/_tide_item_context.fish +++ b/functions/_tide_item_context.fish @@ -2,7 +2,7 @@ function _tide_item_context if set -q SSH_TTY set_color $tide_context_ssh_color printf '%s' $USER'@'$hostname - else if test $USER = 'root' + else if contains -- $USER root toor Administrator set_color $tide_context_root_color printf '%s' $USER'@'$hostname else if test "$tide_context_always_display" = 'true'