1
0
mirror of https://github.com/nushell/nushell.git synced 2025-07-13 12:56:22 +02:00

add the previous display_output hook as doc example

This commit is contained in:
amtoine
2023-07-14 10:42:30 +02:00
parent c411d781d2
commit fe201d6970

@ -294,7 +294,7 @@ $env.config = {
env_change: {
PWD: [{|before, after| null }] # run if the PWD environment is different since the last repl input
}
display_output: { table } # run before the output of a command is drawn
display_output: { table } # run before the output of a command is drawn, example: `{ if (term size).columns >= 100 { table -e } else { table } }`
command_not_found: { null } # return an error message when a command is not found
}