ssh-keygen -t rsa -b 4096 -C "[email protected]"
cat ~/.ssh/id_rsa.pub|pbcopy
Add to github: https://github.com/settings/keys
Add to mac keychain:
ssh-add --apple-use-keychain ~/.ssh/id_rsa
- install brew: https://brew.sh/
- Update path temporarily or use full brew path. Prezto will update the path automatically later.
- install iterm: https://iterm2.com/
- Install profile json
- Map caps lock to control
brew install git tmux vim zsh coreutils
- install pipx
- install powerline (github)
- install hack nerd font mono
Edit $PIP3_DIR/powerline/config_files/themes/tmux/default.json
to hide hostname unless SSH.
{
"function": "powerline.segments.common.net.hostname",
"args": {
"only_if_ssh": true
}
}
On MacOS, uptime is broken (haven't looked into why) and causes tmux status line to flicker. Remove it from config above.
- clone repo
git clone [email protected]:tylerschloesser/dotfiles.git && cd dotfiles
- run install script
./install-vimrc.sh
- install vim-plug
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
- install vim-plug plugins
vim +PlugInstall +qall
coc-java requires JDK 11
example of coc-settings.json
{
"java.jdt.ls.vmargs": "-javaagent:/Users/tschloes/java-stuff/lombok-1-18-18.jar",
"java.format.settings.url": "file:///Users/tschloes/java-stuff/fixed-google-format.xml",
"java.completion.importOrder": []
}
-
Install prezto https://github.com/sorin-ionescu/prezto
-
Link zshrc-common
ln -s `readlink -f zshrc-common` ~/.zshrc-common
- Add this to .zshrc
DON'T ADD TO .zprofile. It doesn't work for some reason.
source "${ZDOTDIR:-$HOME}/.zshrc-common"
ln -s `readlink -f .tmux.conf` ~/.tmux.conf
- use nvm
- otherwise check nodesource
- install lts
nvm install --lts
- install react developer tools
brew install tmuxinator
CloudDocs
ln -s "`readlink -f ~/Library/Mobile\ Documents/com~apple~CloudDocs`" ~/cloud