Skip to content

Commit

Permalink
add chezmoi scripts (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
kucera-lukas authored Oct 19, 2022
1 parent 5e2c6f5 commit 5de747b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions home/.chezmoiscripts/run_after-create-public-key.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{- if .secrets -}}
#!/bin/sh

ssh-keygen -y -f {{ joinPath .chezmoi.homeDir ".ssh" "id_rsa" }} > {{ joinPath .chezmoi.homeDir ".ssh" "id_rsa.pub" }}
{{- end -}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

# {{ .chezmoi.version.commit }}

{{ index .chezmoi.args 0 }} completion fish > {{ joinPath .chezmoi.homeDir ".config" "fish" "completions" "chezmoi.fish" }}
3 changes: 0 additions & 3 deletions home/dot_ssh/private_id_rsa.pub.tmpl

This file was deleted.

0 comments on commit 5de747b

Please sign in to comment.