From bbfbe7604f9275370ed6aad8acfe47d61f7aa135 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Wed, 17 Oct 2018 11:16:07 +0100 Subject: [PATCH] Add newline to bash prompt Gives more space for the actuall command on small terminals --- bash/.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/.bashrc b/bash/.bashrc index 2ba7279..02d34c9 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -117,7 +117,7 @@ function __prompt_command() PS1+="${debian_chroot:+($debian_chroot)}" # basic information (user@host:path) - PS1+="\[$RED$BOLD\]\u\[$RESET\]@\[$RED$BOLD\]\h\[$RESET\]:\[$BLUE\]\w\[$RESET\] " + PS1+="\[$RED$BOLD\]\u\[$RESET\]@\[$RED$BOLD\]\h\[$RESET\]:\[$BLUE\]\w\[$RESET\]\n" # prompt $ or # for root -- 2.45.2