Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
a3ea785c
Unverified
Commit
a3ea785c
authored
May 22, 2020
by
Michael Klemm
Committed by
GitHub
May 22, 2020
Browse files
direnv: check if direnv is installed (#8809)
parent
570729f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/direnv/direnv.plugin.zsh
View file @
a3ea785c
# Don't continue if direnv is not found
command
-v
direnv &>/dev/null
||
return
_direnv_hook
()
{
trap
--
''
SIGINT
;
eval
"
$(
direnv
export
zsh
)
"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment