Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit29896f6c865d3d5f07ccb03b009b0c99b83e2d06 (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-12-31 10:49:26 +0200
Committer
 Syndamia <kamen@syndamia.com>
2025-12-31 10:49:26 +0200
Files400af6505df8f192e6b7c297021a3508f3429c51
.files-29896f6c865d3d5f07ccb03b009b0c99b83e2d06.tar
.files-29896f6c865d3d5f07ccb03b009b0c99b83e2d06.tar.gz
.files-29896f6c865d3d5f07ccb03b009b0c99b83e2d06.zip
Parentf56d066799eeadd261b2bc77f656cc234905b1d4 (diff)
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.
1 files changed, 1 insertions, 1 deletions
-rw-r--r--.bashrc2
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