This commit is contained in:
Tao Tien 2024-02-27 10:26:58 -08:00
parent 94008569ec
commit cffa274b7b
7 changed files with 39 additions and 33 deletions

View file

@ -218,7 +218,13 @@ $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, example: `{ if (term size).columns >= 100 { table -e } else { table } }`
display_output: {
if (term size).columns >= 80 {
table -e
} else {
table
}
}
command_not_found: { null } # return an error message when a command is not found
}