Skip to content

Commit 910a109

Browse files
committed
ci skip
1 parent 68087d1 commit 910a109

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

book/hooks.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ An example for PWD env change hook:
203203

204204
```nu
205205
$env.config = ($env.config | upsert hooks.env_change.PWD {|config|
206-
let val = ($config | get -i hooks.env_change.PWD)
206+
let val = ($config | get -o hooks.env_change.PWD)
207207
208208
if $val == null {
209209
$val | append {|before, after| print $"changing directory from ($before) to ($after)" }
@@ -314,7 +314,6 @@ $env.config.hooks.command_not_found = {
314314
}
315315
```
316316

317-
318317
### `command_not_found` Hook in _Windows_
319318

320319
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

Comments
 (0)