aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-05-02 22:32:49 +0200
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-05-02 22:32:49 +0200
commit79be19ffebe372b43676f6d9f0068324103c19da (patch)
tree1448f721f588b5fa8414dfc0463296b6424facdc
parent429393b0dd19becc8f175fee1d2e437bc893481a (diff)
downloaddotfiles-79be19ffebe372b43676f6d9f0068324103c19da.tar.gz
dotfiles-79be19ffebe372b43676f6d9f0068324103c19da.zip
bash: Simplify the PS1 line
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
-rw-r--r--.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 3c75c5e..d26f3c1 100644
--- a/.bashrc
+++ b/.bashrc
@@ -90,7 +90,7 @@ export PAGER=less
alias gti=git
# Setting up PS1.
-PS1='\u:\w$(__git_ps1 "\[\033[0;32m\]@%s\[\033[0m\]\]") $ '
+export PS1='$(__git_ps1 "\[\033[0;32m\]@%s\[\033[0m\]\]") \$ '
# Introduce `cclip` as a fast way to use `xclip` but selecting the clipboard.
alias cclip='xclip -selection clipboard'