From 8f84ec7981905b02dfbb49471ccce3c67644b5f2 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Wed, 6 Jul 2022 21:42:29 -0400 Subject: Prefer per-uname gitstatusd if it exists; do not complain about missing otherwise --- dot_zshrc.tmpl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dot_zshrc.tmpl') diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index 440d86f..5169add 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -112,6 +112,8 @@ for f in $HOME/.zsh/p10k.zsh $HOME/.zsh/powerlevel10k/powerlevel10k.zsh-theme; d done if [[ -f $HOME/.zsh/powerlevel10k/gitstatus/gitstatusd-$(uname) ]]; then GITSTATUS_DAEMON=$HOME/.zsh/powerlevel10k/gitstatus/gitstatusd-$(uname); +elif [[ ! -f $HOME/.zsh/powerlevel10k/gitstatus/gitstatusd ]]; then + POWERLEVEL9K_DISABLE_GITSTATUS=true fi # Alias/custom commands -- cgit v1.2.3