summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-04-16 15:17:11 +0200
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-04-16 15:17:11 +0200
commita1045921471459147bbc74e10e3a7836b8f39e08 (patch)
treee88273177ef88168a875f6abb45b8bbd362cd1e6 /.bashrc
parent8c329bb219d2d3326b79db0741c29581c32956fc (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'