Update .local/share/chezmoi/home/dot_ssh/run_after_ensure-private-key

This commit is contained in:
Brian Zalewski 2022-12-02 04:35:16 +00:00
parent d6b2832134
commit 07a9a8ff42

View file

@ -1,5 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
{{- includeTemplate "universal/logg" }}
### Ensure id_rsa is present and create one if it does not exist ### Ensure id_rsa is present and create one if it does not exist
if [ ! -f "$HOME/.ssh/id_rsa" ]; then if [ ! -f "$HOME/.ssh/id_rsa" ]; then
logg 'Generating missing default private key / public key (`~/.ssh/id_rsa`)' logg 'Generating missing default private key / public key (`~/.ssh/id_rsa`)'