update nu config

This commit is contained in:
Schrottkatze 2025-01-01 03:15:54 +01:00
parent 78deecc427
commit f8a322ca8e
No known key found for this signature in database

View file

@ -271,7 +271,7 @@ $env.config = {
render_right_prompt_on_last_line: false # true or false to enable or disable right prompt to be rendered on last line of the prompt.
hooks: {
pre_prompt: { null }
pre_prompt: []
pre_execution: [{ $env.CMD_COUNT = $env.CMD_COUNT + 1; }] # run before the repl input is run
env_change: {
PWD: [{|before, after| null }] # run if the PWD environment is different since the last repl input