Skip to content

Instantly share code, notes, and snippets.

@chaeya
Last active November 5, 2022 12:50
Show Gist options
  • Save chaeya/d06129423d6e04036ffc03c17977ce9f to your computer and use it in GitHub Desktop.
Save chaeya/d06129423d6e04036ffc03c17977ce9f to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo apt install -y vim git xclip
[ ! -f ~/.ssh/id_ed25519.pub ] && exec ssh-keygen -t ed25519 -C "chaeya@gmail.com"
cat ~/.ssh/id_ed25519.pub | xclip -selection clipboard
cat ~/.ssh/id_ed25519.pub
xdg-open "https://github.com/settings/keys" &
[ ! -d ./dev-settings ] && git clone git@github.com:chaeya/dev-settings.git
dev-settings/dev-setting.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment