mirror of https://github.com/ohmyzsh/ohmyzsh.git
Compare commits
3 Commits
c90b3f6a2a
...
a425729569
Author | SHA1 | Date |
---|---|---|
|
a425729569 | |
|
6e9cda3d30 | |
|
01e06b931a |
|
@ -3,5 +3,5 @@ charset-normalizer==3.4.1
|
||||||
idna==3.10
|
idna==3.10
|
||||||
PyYAML==6.0.2
|
PyYAML==6.0.2
|
||||||
requests==2.32.3
|
requests==2.32.3
|
||||||
semver==3.0.2
|
semver==3.0.3
|
||||||
urllib3==2.3.0
|
urllib3==2.3.0
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
# Don't continue if direnv is not found
|
# If direnv is not found, don't continue and print a warning
|
||||||
command -v direnv &>/dev/null || return
|
if ! command -v direnv &>/dev/null; then
|
||||||
|
echo "Warning: direnv not found. Please install direnv and ensure it's in your PATH before using this plugin."
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
_direnv_hook() {
|
_direnv_hook() {
|
||||||
trap -- '' SIGINT;
|
trap -- '' SIGINT;
|
||||||
|
|
Loading…
Reference in New Issue