key
This commit is contained in:
parent
fa00ba4405
commit
8f16ad6862
|
@ -23,3 +23,11 @@ paru --needed --noconfirm -Syu paru-bin ttf-cascadia-code
|
||||||
# Chezmoi apply dotfiles
|
# Chezmoi apply dotfiles
|
||||||
chezmoi init --apply https://inex.dev/v/dotfiles.git
|
chezmoi init --apply https://inex.dev/v/dotfiles.git
|
||||||
|
|
||||||
|
if [ -f "$HOME/.ssh/id_ed25519.pub" ]; then
|
||||||
|
echo "id_ed25519.pub exist"
|
||||||
|
else
|
||||||
|
echo "creating id_ed25519.pub..."
|
||||||
|
ssh-keygen -t ed25519 -f "$HOME/.ssh/id_ed22519" -N ""
|
||||||
|
eval "$(ssh-agent -s)"
|
||||||
|
ssh-add ~/.ssh/id_ed25519
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue