tide/tests/_tide_item_direnv.test.fish
Branch Vincent 270b2696b4
add direnv (#398)
* add direnv

* fixes
2023-04-04 18:30:19 -07:00

19 lines
320 B
Fish

# RUN: %fish %s
_tide_parent_dirs
function _direnv
_tide_decolor (_tide_item_direnv)
end
set -e DIRENV_DIR
set -lx tide_direnv_icon
_direnv # CHECK:
set -lx DIRENV_DIR
mock direnv status "echo Found RC allowed true"
_direnv # CHECK: ▼
mock direnv status "echo Found RC allowed false"
_direnv # CHECK: ▼