We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Elvish hook is outdated. Throws warnings
To Reproduce Install latest version of Elvish as your shell Install direnv Hook elvish.
Expected behavior No errors
Environment
Additional context Replace hook with:
set @edit:before-readline = $@edit:before-readline { try { var m = [("/usr/local/bin/direnv" export elvish | from-json)] if (> (count $m) 0) { set m = (all $m) keys $m | each {|k| if $m[$k] { set-env $k $m[$k] } else { unset-env $k } } } } except e { echo $e } }
The text was updated successfully, but these errors were encountered:
can you try the latest master now that #896 has been merged in?
Sorry, something went wrong.
except
catch
Successfully merging a pull request may close this issue.
Describe the bug
Elvish hook is outdated. Throws warnings
To Reproduce
Install latest version of Elvish as your shell
Install direnv
Hook elvish.
Expected behavior
No errors
Environment
Additional context
Replace hook with:
The text was updated successfully, but these errors were encountered: