Skip to content

wsun/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

Setting up iTerm2 and zsh

See https://gist.github.com/kevin-smets/8568070

  1. Install iterm2
brew install --cask iterm2
  1. Select Solarized Dark colors by visiting Preferences / Profiles / Colors / Load Presets
  2. Install Oh My Zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  1. Install Powerline fonts and set Preferences / Profiles / Text / Font to Meslo LG M for Powerline, size 10
  2. Set up .zshrc
  3. Install autosuggestions

Setting up Python

  1. Install pyenv and pyenv-virtualenv
brew install pyenv pyenv-virtualenv
  1. Install desired python version
pyenv install 3.9.7
  1. Set up virtualenv for a project
pyenv virtualenv [version, e.g. 3.9.7] [name, e.g. project-env]
  1. Set up .bashrc with virtualenv auto-activation
  2. Set up .python-version with version/virtualenv details, e.g. '3.7.1/envs/project-env'

Setting up Ruby

  1. Install rbenv
brew install rbenv
  1. Set up .bashrc (in place of running rbenv init)
  2. Install relevant ruby versions, by running
rbenv install [version #, e.g. 2.3.3]
  1. Ensure shims all work by running
rbenv rehash
  1. Set up global bundler. Check that location is pointing to correct rbenv ruby.
gem env home
gem install bundler

Setting up Postgres

  1. Install postgres and postico.
brew install postgresql
brew install --cask postico
  1. Set up .zshrc with pgstart and pgstop commands

Setting up Node

  1. Install NVM and target node version
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
nvm install lts/gallium
  1. Install yarn directly (homebrew version includes node)
curl -o- -L https://yarnpkg.com/install.sh | bash
  1. Set up .bashrc
  2. Install redis
brew install redis

Setting up direnv

  1. Install direnv
brew install direnv

Setting up Chrome

Turn off dark mode bars

defaults write com.google.Chrome NSRequiresAquaSystemAppearance -bool yes

Casks

  • 1password
  • calibre
  • coconutbattery
  • firefox
  • google-drive
  • google-chrome
  • google-cloud-sdk
  • handbrake
  • iexplorer
  • iterm2
  • mactex
  • mamp
  • onedrive
  • postico
  • postman
  • rocket-typist
  • rescuetime
  • sequel-pro
  • skype
  • slack
  • spotify
  • sqlitebrowser
  • steam
  • sublime-text
  • the-unarchiver
  • transmit
  • virtualbox
  • visual-studio-code
  • vlc

Programs

  • garmin express
  • xcode
  • office 2019
  • utorrent
  • ie10 virtualbox tester

Global npm modules

  • create-react-app
  • nodemon
  • sequelize-cli

About

Config stuff

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published