mirror of
https://github.com/IlanCosman/tide.git
synced 2024-11-23 08:46:51 +03:00
Support toor and Administrator in context item
This commit is contained in:
parent
8d95cec0cb
commit
2620cb349a
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user