We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c62a46d commit 4f54b1aCopy full SHA for 4f54b1a
nu-hooks/nu-hooks/rusty-paths/rusty-paths.nu
@@ -10,7 +10,7 @@
10
# 2. Add `source rusty-paths.nu` to `$nu.config-path`
11
12
13
-$env.config = ($env.config | update hooks.env_change.PWD {
+$env.config = ($env.config | upsert hooks.env_change.PWD {
14
append {
15
condition: {|_, after| ($after | path join 'Cargo.lock' | path exists) }
16
code: {
0 commit comments