Skip to content

Commit

Permalink
extra file support for ssh config
Browse files Browse the repository at this point in the history
  • Loading branch information
zbiljic committed Feb 12, 2025
1 parent 98ce977 commit 74a078d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions home/private_dot_ssh/config.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@ Host maxm1
HostName nemanjas-mac-studio-m1
User nemanjaz
{{ end -}}

{{ $path := printf "%s_extra" .chezmoi.targetFile }}
{{- if stat $path }}
# Extra
{{ include $path }}
{{- end }}

0 comments on commit 74a078d

Please sign in to comment.