diff options
| Commit | 29896f6c865d3d5f07ccb03b009b0c99b83e2d06 (patch) | |
|---|---|---|
| Author | 2025-12-31 10:49:26 +0200 | |
| Committer | 2025-12-31 10:49:26 +0200 | |
| Files | 400af6505df8f192e6b7c297021a3508f3429c51 | |
| .files-29896f6c865d3d5f07ccb03b009b0c99b83e2d06.tar .files-29896f6c865d3d5f07ccb03b009b0c99b83e2d06.tar.gz .files-29896f6c865d3d5f07ccb03b009b0c99b83e2d06.zip | ||
| Parent | f56d066799eeadd261b2bc77f656cc234905b1d4 (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-- | .bashrc | 2 |
@@ -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 |
