vaxXxa's dotfiles


  1. Install unix shell – zsh (Z shell).
  2. Install zsh configuration framework oh-my-zsh


You can clone the repository wherever you want (I like to keep it in ~/Documents/Projects/dotfiles). The bootstrapper script will pull in the latest version and copy the files to your home folder.

$ git clone && cd dotfiles && ./

To update, cd into your local dotfiles repository and then:

$ git pull # optional: pull last version
$ ./

Alternatively, to update while avoiding the confirmation prompt:

$ git pull # optional: pull last version
$ ./ -f


$ ./ --force

Git-free install

To install these dotfiles without Git:

$ cd; curl -#L | tar -xzv --strip-components 1 --exclude={README.rst,}

To update later on, just run that command again.

Add custom commands without creating a new fork

If ~/.extra/ exists, it will be sourced along with the other files. You can use this to add a few custom commands without the need to fork this entire repository, or to add commands you don’t want to commit to a public repository.

My ~/.extra/ looks something like this:

# Git credentials
git config --global "Vasyl Nakvasiuk"
git config --global ""

# Go environment
export GOROOT=/usr/local/go
export GOPATH=$HOME/Documents/Projects/gocode
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin

source /usr/local/bin/

You can overwrite something using ~/.extra/ For example:

# Overwrite alias
alias p="cd ~/Projects"

# Overwrite environment variable
export EDITOR="emacs"

Or you can extend all your dotfiles configuration using ~/.extra/ like entry point. Your ~/.extra/ can be like this:

for file in ~/.extra/{local-exports,local-aliases,local-work-settings}.sh; do
    [ -r "$file" ] && source "$file"
unset file

And in ~/.extra/, ~/.extra/, ~/.extra/ you can add your own custom commands.

Thanks to...

Mathias Bynens for sharing his amazing collection of dotfiles.