Remove unnecessary direnv hook from nushell config

The something already adds this apparently
This commit is contained in:
Erwin Boskma 2023-04-03 09:46:16 +02:00
parent 761dddc926
commit 80987fc79b
Signed by: erwin
SSH key fingerprint: SHA256:CyeNoWXd3kjX2Nwu6pDxxdS7OqmPVOy0NavA/KU/ntU

View file

@ -209,11 +209,7 @@ let-env config = {
hooks: {
pre_prompt: [{
code: "
let direnv = (direnv export json | from json)
let direnv = if ($direnv | length) == 1 { $direnv } else { {} }
$direnv | load-env
"
null
}]
pre_execution: [{
null # replace with source code to run before the repl input is run