- iTerm2, import config in UI
- Karabiner-elements, puts the
karabinerfolder to~/.config/. - homebrew, and run
./brew_install.sh - VSCode, command line: https://code.visualstudio.com/docs/setup/mac
- gpg
- gitconfig to
~/.(or use config script to config each repo locally https://gist.github.com/dwy6626/ce6bd08aad6ce17d0d277f21ba2c6a3f) - add ssh key to github
- zsh + zim + powerlevel10k
- patched Monaco
~/.ssh/config- gpg private key
https://dwye.dev/post/zsh-zim-powerlevel10k/
- install zim:
curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh
- replace
.zshrc,.zimrcto~/. zimfw install
get gpg private key and passphrase in 1password
# brew install gnupg pinentry-mac
gpg --import ~/path/to/gpg_private_key
echo "no-tty" > ~/.gnupg/gpg.conf
echo "pinentry-program $(which pinentry-mac)" > ~/.gnupg/gpg-agent.conf
killall gpg-agenttest:
echo "test" | gpg --clearsign
ssh-keygen -C "[email protected]"
and press return, return ...
- add to github: https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account
cat ~/.ssh/id_rsa.pub
and paste to the github settings
echo "zmodule romkatv/powerlevel10k" >> ~/.zimrc
zimfw install