mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-03 00:44:04 +03:00
18 lines
309 B
Fish
18 lines
309 B
Fish
# RUN: %fish %s
|
|
|
|
function _context
|
|
_tide_decolor (_tide_item_context)
|
|
end
|
|
|
|
set -lx tide_context_always_display false
|
|
_context # Check:
|
|
|
|
set -lx tide_context_always_display true
|
|
_context # CHECK: {{.*@.*}}
|
|
|
|
set -g SSH_TTY /dev/pts/0
|
|
_context # CHECK: {{.*@.*}}
|
|
|
|
set USER root
|
|
_context # CHECK: {{root@.*}}
|