mirror of
https://github.com/IlanCosman/tide.git
synced 2024-09-11 17:15:34 +03:00
24 lines
446 B
Fish
24 lines
446 B
Fish
# RUN: %fish %s
|
|
_tide_parent_dirs
|
|
|
|
function _context
|
|
_tide_decolor (_tide_item_context)
|
|
end
|
|
|
|
set -lx tide_context_hostname_parts 5
|
|
|
|
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: {{[^@]*@[^@]*}}
|
|
|
|
set -lx tide_context_hostname_parts 0
|
|
_context # CHECK: {{[^@]*}}
|