This commit is contained in:
V 2022-11-24 21:17:39 +04:00
parent fa00ba4405
commit 8f16ad6862
1 changed files with 8 additions and 0 deletions

View File

@ -23,3 +23,11 @@ paru --needed --noconfirm -Syu paru-bin ttf-cascadia-code
# Chezmoi apply dotfiles
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