Fix direnv existence test
This commit is contained in:
parent
ea073f117f
commit
9640e91cbd
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ if status is-interactive
|
||||||
abbr -a cp "cp --interactive --verbose"
|
abbr -a cp "cp --interactive --verbose"
|
||||||
|
|
||||||
# direnv (https://direnv.net)
|
# direnv (https://direnv.net)
|
||||||
if which direnv > /dev/null
|
if type -q direnv
|
||||||
direnv hook fish | source
|
direnv hook fish | source
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue