mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +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 ! 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."
|
||||
return
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue