Skip to content

tylerschloesser/dotfiles

Repository files navigation

Dev Setup

SSH Key

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

Mac Stuff

  1. install brew: https://brew.sh/
  • Update path temporarily or use full brew path. Prezto will update the path automatically later.
  1. install iterm: https://iterm2.com/
  • Install profile json
  1. Map caps lock to control
brew install git tmux vim zsh coreutils

powerline

  1. install pipx
  2. install powerline (github)
  3. 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.

vim

  1. clone repo
    git clone [email protected]:tylerschloesser/dotfiles.git && cd dotfiles
    
  2. run install script
    ./install-vimrc.sh
    
  3. install vim-plug
    curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
        https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
    
  4. 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": []
}

zsh

  1. Install prezto https://github.com/sorin-ionescu/prezto

  2. Link zshrc-common

ln -s `readlink -f zshrc-common` ~/.zshrc-common
  1. Add this to .zshrc

DON'T ADD TO .zprofile. It doesn't work for some reason.

source "${ZDOTDIR:-$HOME}/.zshrc-common"

tmux

ln -s `readlink -f .tmux.conf` ~/.tmux.conf

node

  1. use nvm
  2. otherwise check nodesource
  3. install lts
nvm install --lts

chrome

  1. install react developer tools

tmuxinator

brew install tmuxinator

Mac Software

CloudDocs

ln -s "`readlink -f ~/Library/Mobile\ Documents/com~apple~CloudDocs`" ~/cloud

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published