summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-04-16 17:00:36 +0200
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2022-04-16 17:00:36 +0200
commitbbf063871e672f03987957490f8740ad081301f8 (patch)
treeebdbf52403c15b0ad200ca19196f667b1e227e9c
parent8de32cf63c077fd29ca3da48529e119bd201f334 (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'