From fbdf985468ac57b917ddfe35e59c9cdf2f9a779a Mon Sep 17 00:00:00 2001 From: Xevion Date: Sun, 13 Oct 2024 01:59:45 -0500 Subject: [PATCH] fix whitespace issue with conditional hishtory shell sourcing --- .chezmoitemplates/scripts/commonrc.sh.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.chezmoitemplates/scripts/commonrc.sh.tmpl b/.chezmoitemplates/scripts/commonrc.sh.tmpl index 4cac696..8d3c129 100644 --- a/.chezmoitemplates/scripts/commonrc.sh.tmpl +++ b/.chezmoitemplates/scripts/commonrc.sh.tmpl @@ -7,15 +7,15 @@ export MICRO_TRUECOLOR=1 export TERM=xterm-256color # fixes terminal colors when ssh'ing into laptop # hishtory -export HISHTORY_SERVER=https://hsh.***REMOVED*** +export HISHTORY_SERVER="https://hsh.***REMOVED***" export PATH="$PATH:$HOME/.hishtory" -{{- if eq . "zsh" -}} +{{ if eq . "zsh" -}} source $HOME/.hishtory/config.zsh -{{- else if eq . "bash" -}} +{{ else if eq . "bash" -}} source $HOME/.hishtory/config.sh {{- else -}} {{ fail "Unexpected shell." }} -{{- end -}} +{{- end }} export PATH=$PATH:~/.local/bin export PATH=$PATH:/usr/local/go/bin # Go