From 4c9762bef132ad23d8bc350a527a2e17afced4aa Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Thu, 24 Aug 2023 10:05:51 +0200 Subject: [PATCH] Fixed newline in nushell prompt --- .config/nushell/config.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nushell/config.nu b/.config/nushell/config.nu index 69e171e..0208765 100644 --- a/.config/nushell/config.nu +++ b/.config/nushell/config.nu @@ -4,4 +4,4 @@ source ~/.config/nushell/alias.nu $env.config.show_banner = false $env.config.history.file_format = "sqlite" $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)"}]