mirror of
https://github.com/Xevion/dotfiles.git
synced 2025-12-15 08:11:38 -06:00
Simplify privateDomain to promptString in config TOML
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
{{- if false -}}
|
||||
This is just a comments block, because apparently the templating langauge doesn't have a proper way to comment code as far as I can tell.
|
||||
This file is just a template for loading keys from the .ignored_keys directory.
|
||||
{{- else if eq . "privateDomain" -}}
|
||||
***REMOVED***
|
||||
{{- end -}}
|
||||
@@ -10,7 +10,7 @@ export TERM=xterm-256color # fixes terminal colors when ssh'ing into laptop
|
||||
export OPENAI_API_KEY="{{ (rbw "OpenAI - chatgpt-cli Key").data.password }}"
|
||||
|
||||
# hishtory
|
||||
export HISHTORY_SERVER="https://hsh.{{ template "keys.tmpl" "privateDomain" }}"
|
||||
export HISHTORY_SERVER="https://hsh.{{ .privateDomain }}"
|
||||
export PATH="$PATH:$HOME/.hishtory"
|
||||
{{ if eq .shell "zsh" -}}
|
||||
source $HOME/.hishtory/config.zsh
|
||||
|
||||
Reference in New Issue
Block a user