From: Maximilian Friedersdorff Date: Wed, 17 Oct 2018 10:16:07 +0000 (+0100) Subject: Add newline to bash prompt X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=bbfbe7604f9275370ed6aad8acfe47d61f7aa135;p=max%2Fdotfiles.git Add newline to bash prompt Gives more space for the actuall command on small terminals --- 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