diff options
author | 2025-01-31 17:40:12 +0000 | |
---|---|---|
committer | 2025-01-31 17:56:09 +0000 | |
commit | ab7395bb16d175f64817c149b0310c0f9b425184 (patch) | |
tree | 09d8f92b3c64559c5e163b0b13a42ff1fcb5c12d /home | |
parent | c4d6c70d7a7b33cc2b6cb8d75453e0a8a93ce60d (diff) | |
download | dotfiles-ab7395bb16d175f64817c149b0310c0f9b425184.tar.gz dotfiles-ab7395bb16d175f64817c149b0310c0f9b425184.tar.bz2 dotfiles-ab7395bb16d175f64817c149b0310c0f9b425184.zip |
[sh] Make git PS1 faster
Diffstat (limited to 'home')
-rw-r--r-- | home/.config/sh/envrc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/home/.config/sh/envrc b/home/.config/sh/envrc index 64d85d7..d06a12f 100644 --- a/home/.config/sh/envrc +++ b/home/.config/sh/envrc @@ -139,8 +139,12 @@ export vblank_mode=0 # detailed git PS1 export GIT_PS1_SHOWDIRTYSTATE=1 export GIT_PS1_SHOWSTASHSTATE=1 -export GIT_PS1_SHOWUNTRACKEDFILES=1 -export GIT_PS1_SHOWUPSTREAM="auto" +unset GIT_PS1_SHOWUNTRACKEDFILES +export GIT_PS1_SHOWUPSTREAM="verbose" +export GIT_PS1_SHOWCONFLICTSTATE="yes" +export GIT_PS1_DESCRIBE_STYLE="branch" +export GIT_PS1_SHOWCOLORHINTS=1 +export GIT_PS1_HIDE_IF_PWD_IGNORED=1 # only set XAUTHORITY when not logging from ssh, since it breaks xauth [ "$XDG_RUNTIME_DIR" ] && export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" |