From b3d752799947e7577b88a242456b90a6d93d29e5 Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Sat, 16 Apr 2022 17:00:36 +0200 Subject: Prefix Bash Prompt with Newline .bashrc [PS1]: Add newline before the command prompt to clearly separate each command. --- .bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index 573e49e..78e9cea 100644 --- a/.bashrc +++ b/.bashrc @@ -22,9 +22,9 @@ source /etc/bashrc # Adjust the prompt depending on whether we're in 'guix environment'. if [ -n "$GUIX_ENVIRONMENT" ] then - PS1='\u@\h [env]\$ ' + PS1='\n\u@\h [env]\$ ' else - PS1='\u@\h \$ ' + PS1='\n\u@\h \$ ' fi alias ls='ls -p --color=auto' alias ll='ls -l' -- cgit v1.2.3