We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68087d1 commit 910a109Copy full SHA for 910a109
book/hooks.md
@@ -203,7 +203,7 @@ An example for PWD env change hook:
203
204
```nu
205
$env.config = ($env.config | upsert hooks.env_change.PWD {|config|
206
- let val = ($config | get -i hooks.env_change.PWD)
+ let val = ($config | get -o hooks.env_change.PWD)
207
208
if $val == null {
209
$val | append {|before, after| print $"changing directory from ($before) to ($after)" }
@@ -314,7 +314,6 @@ $env.config.hooks.command_not_found = {
314
}
315
```
316
317
-
318
### `command_not_found` Hook in _Windows_
319
320
The following hook uses the `ftype` command, to find program paths in _Windows_ that might be relevant to the user for `alias`-ing.
0 commit comments