do flag thing help

This commit is contained in:
Schrottkatze 2024-08-02 21:29:25 +02:00
commit 62539db84d
No known key found for this signature in database
6 changed files with 51 additions and 36 deletions

View file

@ -272,7 +272,8 @@ $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_execution: [{ null }] # run before the repl input is run
pre_prompt: { null }
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
}