mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
Update plugins/direnv/direnv.plugin.zsh
This commit is contained in:
parent
01e06b931a
commit
aa64a72bf3
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
# If direnv is not found, don't continue and print a warning
|
# If direnv is not found, don't continue and print a warning
|
||||||
if ! command -v direnv &>/dev/null; then
|
if (( ! $+commands[direnv] )); then
|
||||||
echo "Warning: direnv not found. Please install direnv and ensure it's in your PATH before using this plugin."
|
echo "Warning: direnv not found. Please install direnv and ensure it's in your PATH before using this plugin."
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue