From e722d08f7a9ee0ce76d482fd07ce9fb8f93bd511 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Sun, 29 Jan 2023 02:15:35 -0500 Subject: [PATCH] remove bash prompt newline --- modules/cli/powerline.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cli/powerline.nix b/modules/cli/powerline.nix index 034937c..02efa71 100644 --- a/modules/cli/powerline.nix +++ b/modules/cli/powerline.nix @@ -41,7 +41,7 @@ in local remote=y [ "$XDG_SESSION_TYPE" = "x11" ] && unset remote [ "$XDG_SESSION_TYPE" = "wayland" ] && unset remote - PS1="\n$(powerline-go ${toString cfg.args})" + PS1="$(powerline-go ${toString cfg.args})" } [ "$TERM" = "linux" ] || PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND" '';