- git
- curl
- make
quickstart
git clone https://github.com/qnlbnsl/dotfiles ~/.dotfiles
cd ~/.dotfiles
chmod +x ubuntu.sh
./ubuntu.sh
Running make
git clone https://github.com/qnlbnsl/dotfiles ~/.dotfiles
cd ~/.dotfiles
make -j
Note that the Makefile manages:
- go
- oh-my-zsh
- nvm
- docker
- zplug
- powerlevel10k
chsh -s /usr/bin/zsh $(whoami)
As root:
apt-get update && apt-get install -y sudo
user=qnlbnsl
echo "$user ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/90-primary-user
make docker
sudo sh -c 'echo /usr/local/bin/zsh >> /etc/shells'
chsh -s /usr/local/bin/zsh $(whoami)
Note that Apple announced they will remove ruby from OSX by default. Will need to update how to install brew.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew cask install virtualbox
brew install docker docker-machine docker-compose
docker-machine create --driver=virtualbox --virtualbox-disk-size=200000 --virtualbox-cpu-count=4 default
eval "$(docker-machine env)"
docker ps
- System Preferences -> Sharing -> Computer's Name
- System Preferences -> Keyboard -> Key Repeat -> Set to Fast
- System Preferences -> Keyboard -> Delay Until Repeat -> Set to Short
- System Preferences -> Trackpad -> Tap to click -> Enable
- System Preferences -> Trackpad -> Tracking speed -> Set to Fast
- System Preferences -> Displays -> Resolution: Scaled -> More Space
Make sure to have all of this installed. Some might be installed by default.
Dependencies:
- git
- curl
- make
Common tools:
- tmux
- emacs (emacs-nox on linux)
- gpg
- ssh
- python / pip
- powerline-status
- awscli
- most
- zsh (on OSX, install it from brew to have newer version)
- remake
- ntpdate
# Go itself.
(cd ~/.dotfiles && echo "1.13.1" > versions/go && make)
go version
# Go tools (golint, govet, guru, etc).
go get golang.org/x/tools/cmd/...
# Linter
(cd ~/.dotfiles && echo "1.19.1" > versions/golangci-lint && make)
golangci-lint --version