fix whitespace issue with conditional hishtory shell sourcing

This commit is contained in:
2024-10-13 01:59:45 -05:00
parent d8b9a109c0
commit fbdf985468

View File

@@ -7,15 +7,15 @@ export MICRO_TRUECOLOR=1
export TERM=xterm-256color # fixes terminal colors when ssh'ing into laptop export TERM=xterm-256color # fixes terminal colors when ssh'ing into laptop
# hishtory # hishtory
export HISHTORY_SERVER=https://hsh.***REMOVED*** export HISHTORY_SERVER="https://hsh.***REMOVED***"
export PATH="$PATH:$HOME/.hishtory" export PATH="$PATH:$HOME/.hishtory"
{{- if eq . "zsh" -}} {{ if eq . "zsh" -}}
source $HOME/.hishtory/config.zsh source $HOME/.hishtory/config.zsh
{{- else if eq . "bash" -}} {{ else if eq . "bash" -}}
source $HOME/.hishtory/config.sh source $HOME/.hishtory/config.sh
{{- else -}} {{- else -}}
{{ fail "Unexpected shell." }} {{ fail "Unexpected shell." }}
{{- end -}} {{- end }}
export PATH=$PATH:~/.local/bin export PATH=$PATH:~/.local/bin
export PATH=$PATH:/usr/local/go/bin # Go export PATH=$PATH:/usr/local/go/bin # Go