tide/tests/_tide_item_context.test.fish
2021-02-11 11:36:10 -08:00

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@.*}}