mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 12:03:48 +03:00
270b2696b4
* add direnv * fixes
19 lines
320 B
Fish
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: ▼
|