mirror of
https://github.com/nushell/nushell.git
synced 2025-04-29 07:34:28 +02:00
the example for `history` was out of date, this PR updates it.
## the failing command
```
❯ history | wrap cmd | where cmd =~ cargo
Error: nu:🐚:type_mismatch
× Type mismatch during operation.
╭─[entry #23:1:1]
1 │ history | wrap cmd | where cmd =~ cargo
· ───┬─── ─┬ ──┬──
· │ │ ╰── string
· │ ╰── type mismatch for operator
· ╰── record<start_timestamp: string, command: string, cwd: string, duration: duration, exit_status: int>
╰────
```
|
||
---|---|---|
.. | ||
commandline.rs | ||
default_context.rs | ||
history_session.rs | ||
history.rs | ||
keybindings_default.rs | ||
keybindings_list.rs | ||
keybindings_listen.rs | ||
keybindings.rs | ||
mod.rs |