mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 00:13:21 +01:00
b15c824932
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>
╰────
```
|
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml | ||
LICENSE |