1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-27 10:07:44 +00:00

nushell: don't print ls on new cd

This commit is contained in:
RGBCube 2025-07-12 17:50:15 +03:00
parent 6a5ea3ef02
commit 43e0439341
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -138,12 +138,7 @@ $env.config.hooks.pre_execution = [
}
]
$env.config.hooks.env_change.PWD = [
{|_before, after|
ls $after
| if ($in | length) < 20 { print }
}
]
$env.config.hooks.env_change = {}
$env.config.hooks.display_output = {||
tee { table --expand | print }