tide/tests/_tide_item_context.test.fish
2022-09-05 12:56:50 -04:00

19 lines
322 B
Fish

# RUN: %fish %s
_tide_parent_dirs
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 EUID 0
_context # CHECK: {{.*@.*}}