From 29896f6c865d3d5f07ccb03b009b0c99b83e2d06 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Wed, 31 Dec 2025 10:49:26 +0200 Subject: feat(.bashrc): Always show PREC_GIT in a git repository This also fixes an issue, where git status --porcelain could add a lot of slowdown. --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 02b0bb9..ea60ae6 100644 --- a/.bashrc +++ b/.bashrc @@ -131,7 +131,7 @@ export PROMPT_COMMAND="shell_var_fix;" branch_name=${branch_name##refs/heads/} branch_name=${branch_name:-HEAD} - ___changes="$(git status --porcelain)" + ___changes="true" if [ -n "$___dirchanged" ] then -- cgit v1.3.1-26-gb76a