From 79be19ffebe372b43676f6d9f0068324103c19da Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 2 May 2025 22:32:49 +0200 Subject: bash: Simplify the PS1 line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.bashrc') 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' -- cgit v1.2.3