summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-01-14 11:17:07 +0100
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-01-14 11:17:07 +0100
commit12c5586c6b2978a0806211f0ab5afecd44ba2a63 (patch)
treee88273177ef88168a875f6abb45b8bbd362cd1e6 /.bashrc
parentd59423930abe2c24ac22551362b1c4b1318ed31c (diff)
guix-config: Remove $PWD from bash prompt.
* .bashrc (PS1): Remove "\w" from prompt to clear clutter from the command line.
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.bashrc b/.bashrc
index 10589f4..573e49e 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 \w [env]\$ '
+ PS1='\u@\h [env]\$ '
else
- PS1='\u@\h \w\$ '
+ PS1='\u@\h \$ '
fi
alias ls='ls -p --color=auto'
alias ll='ls -l'