mirror of
https://github.com/IlanCosman/tide.git
synced 2024-11-22 23:03:26 +03:00
Fix context colors
This commit is contained in:
parent
356e515ce9
commit
71ea357d5c
@ -1,9 +1,9 @@
|
||||
function _tide_item_context
|
||||
if set -q SSH_TTY
|
||||
tide_context_color_color=$tide_context_ssh _tide_print_item context $USER'@'$hostname
|
||||
tide_context_color=$tide_context_color_ssh _tide_print_item context $USER'@'$hostname
|
||||
else if contains -- $USER root toor Administrator
|
||||
tide_context_color_color=$tide_context_root _tide_print_item context $USER'@'$hostname
|
||||
tide_context_color=$tide_context_color_root _tide_print_item context $USER'@'$hostname
|
||||
else if test "$tide_context_always_display" = true
|
||||
tide_context_color_color=$tide_context_default _tide_print_item context $USER'@'$hostname
|
||||
tide_context_color=$tide_context_color_default _tide_print_item context $USER'@'$hostname
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user