From 131ea710238380ac1f13d3e7500ee83950107318 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Fri, 17 Jun 2022 05:15:42 -0400 Subject: select gitstatusd based on OS/arch --- dot_zshrc.tmpl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dot_zshrc.tmpl') diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index d554e8a..c279eb6 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -106,6 +106,9 @@ fi for f in $HOME/.zsh/p10k.zsh $HOME/.zsh/powerlevel10k/powerlevel10k.zsh-theme; do [[ ! -f $f ]] || source $f done +if [[ -f $HOME/.zsh/powerlevel10k/gitstatus/gitstatusd-$(uname) ]]; then + GITSTATUS_DAEMON=$HOME/.zsh/powerlevel10k/gitstatus/gitstatusd-$(uname); +fi # Alias/custom commands # @@ -645,3 +648,5 @@ if command -v keychain > /dev/null; then [ -f $HOME/.keychain/$HOSTNAME-sh-gpg ] && . $HOME/.keychain/$HOSTNAME-sh-gpg fi + +# vim: set ft=sh: -- cgit v1.2.3