summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-04-16 17:00:36 +0200
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-04-16 17:00:36 +0200
commitb3d752799947e7577b88a242456b90a6d93d29e5 (patch)
tree48e0becd0831dd22a9d9d5ca3b32e6e3c092e8b1
parent50960642b44d5a909ff2ae46e42101747439ae27 (diff)
Prefix Bash Prompt with Newline
.bashrc [PS1]: Add newline before the command prompt to clearly separate each command.
-rw-r--r--.bashrc4
1 files 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'