Fixed newline in nushell prompt

This commit is contained in:
Eduard Urbach 2023-08-24 10:05:51 +02:00
parent 0348190b12
commit 4c9762bef1
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0

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)"}]