Fixed newline in nushell prompt

This commit is contained in:
Eduard Urbach 2023-08-24 10:05:51 +02:00
parent 9ff1f14bf2
commit 96d3739ff9
Signed by: eduard
GPG key ID: 49226B848C78F6C8

View file

@ -4,4 +4,4 @@ source ~/.config/nushell/alias.nu
$env.config.show_banner = false $env.config.show_banner = false
$env.config.history.file_format = "sqlite" $env.config.history.file_format = "sqlite"
$env.config.history.isolation = true $env.config.history.isolation = true
$env.config.hooks.pre_prompt = [{print $"(ansi title)(whoami)@(hostname)(ansi st)"}] $env.config.hooks.pre_prompt = [{print --no-newline $"(ansi title)(whoami)@(hostname)(ansi st)"}]