Last active
July 29, 2024 18:50
-
-
Save xdumaine/fac2a1204392e35edccdc3ad28b7f949 to your computer and use it in GitHub Desktop.
setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> ~/.zprofile | |
eval "$(/opt/homebrew/bin/brew shellenv)" | |
defaults write com.apple.dock persistent-apps -array | |
killall Dock | |
brew install arc fnm spotify 1password gpg credstash diff-so-fancy gnupg pyenv pinentry pinentry-mac yarn jpeg-turbo awscli imagesnap | |
brew install --cask visual-studio-code font-fira-code bettertouchtool insomnia scroll-reverser slack licecap docker | |
# maybe | |
# brew install applesimutils imagesnap | |
# brew install --cask android-studio corretto | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
# login to 1password | |
# launch and login to arc | |
# login to github | |
ssh-keygen -t ed25519 -C "<email>" | |
eval "$(ssh-agent -s)" | |
touch ~/.ssh/config | |
echo "Host github.com | |
AddKeysToAgent yes | |
UseKeychain yes | |
IdentityFile ~/.ssh/ig_github" > ~/.ssh/config | |
ssh-add --apple-use-keychain ~/.ssh/id_github | |
open https://github.com/settings/ssh/new | |
cat ~/.ssh/id_github.pub | pbcopy | |
# finish creating ssh key, enable sso | |
mkdir Code && cd Code | |
git clone [email protected]:xdumaine/notes | |
gpg --full-generate-key | |
gpg --list-secret-keys --keyid-format=long | |
# get the sec part after id-rsa | |
gpg --armor --export <id> | pbcopy | |
open https://github.com/settings/gpg/new | |
cp dotfiles/.gitconfig ~/.gitconfig | |
git config --global --unset gpg.format | |
git config --global user.signingkey <id> | |
echo "pinentry-program $(brew --prefix)/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf | |
gpgconf --kill gpg-agent | |
git commit -am "test gpg" --allow-empty | |
open https://github.com/xdumaine/notes | |
cp dotfiles/dumaine.zsh-theme ~/.oh-my-zsh/themes | |
cp dotfiles/.zshrc ~/.zshrc | |
cp dotfiles/.zshenv ~/.zshenv | |
# open scroll-reverser, btt, setup accessibility | |
# register btt, enable sync via dropbox, restart | |
# change capslock key in system settings | |
# login to slack | |
# login to spotify | |
# login to google |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment