chore: Update setup.sh
This commit is contained in:
parent
45ca8d534f
commit
7884a29617
32 changed files with 296 additions and 151 deletions
7
fish/functions/_tide_item_direnv.fish
Normal file
7
fish/functions/_tide_item_direnv.fish
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
function _tide_item_direnv
|
||||
set -q DIRENV_DIR || return
|
||||
direnv status | string match -q 'Found RC allowed false' \
|
||||
&& set -lx tide_direnv_color $tide_direnv_color_denied \
|
||||
&& set -lx tide_direnv_bg_color $tide_direnv_bg_color_denied
|
||||
_tide_print_item direnv $tide_direnv_icon
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue