mirror of
https://github.com/RGBCube/ncc
synced 2025-07-28 18:47:44 +00:00
nushell: fix display output hook
This commit is contained in:
parent
e3096645a8
commit
874471e1df
1 changed files with 2 additions and 1 deletions
|
@ -181,7 +181,8 @@ $env.config.hooks.env_change = {}
|
||||||
|
|
||||||
$env.config.hooks.display_output = {||
|
$env.config.hooks.display_output = {||
|
||||||
tee { table --expand | print }
|
tee { table --expand | print }
|
||||||
| if $in != null { $env.last = $in }
|
# SQLiteDatabase doesn't support equality comparisions
|
||||||
|
| try { if $in != null { $env.last = $in } }
|
||||||
}
|
}
|
||||||
|
|
||||||
$env.config.hooks.command_not_found = []
|
$env.config.hooks.command_not_found = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue