Skip to content

Commit

Permalink
imac - wip
Browse files Browse the repository at this point in the history
  • Loading branch information
wardnath committed Nov 10, 2024
1 parent 647d47b commit 3de96cf
Showing 1 changed file with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,22 @@ auto_sync = true
# update_check = true

## address of the sync server
# sync_address = "{{ (ejsonDecrypt "/opt/ejson/params.ejson").atuin_sync_address }}"

#sync_address = "{{ (ejsonDecrypt "/opt/ejson/params.ejson").atuin_sync_address }}"
# TODO set default - https://masterminds.github.io/sprig/defaults.html

{{- /* chezmoi:template:left-delimiter="{{" right-delimiter="}}" */ -}}
{{- $sync_address := "" -}}
{{- $ejsonFile := "/opt/ejson/params.ejson" -}}

{{- if hasKey . "ejson" -}}
sync_address = "{{ (ejsonDecrypt "/opt/ejson/params.ejson").atuin_sync_address }}"
{{- else -}}
sync_address = ""
{{- end -}}



## how often to sync history. note that this is only triggered when a command
## is ran, so sync intervals may well be longer
## set it to 0 to sync after every command
Expand Down

0 comments on commit 3de96cf

Please sign in to comment.