From f3fd23972dba7b107cf05901a959c7531c10cf45 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Sun, 4 May 2025 23:34:46 +0200 Subject: bash: PS1: Avoid an extra space on non-git 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 d26f3c1..eb97270 100644 --- a/.bashrc +++ b/.bashrc @@ -90,7 +90,7 @@ export PAGER=less alias gti=git # Setting up PS1. -export PS1='$(__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