Awesome Open Source
Awesome Open Source


dotfiles vim

vaxXxa's dotfiles


Note: this setup works only on Mac OS X

  1. Install Homebrew.
  2. Install unix shell zsh (Z shell) and set zsh as your default shell.
  3. Install zsh configuration framework oh-my-zsh.
  4. Install zsh-completions, zsh-autosuggestions, zsh-syntax-highlighting:
$ git clone ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions
$ git clone git:// $ZSH_CUSTOM/plugins/zsh-autosuggestions
$ git clone ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
  1. Install Powerlevel10k:
$ git clone --depth=1 ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes/powerlevel10k
  1. Install Visual Studio Code shell command 'code'.


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

$ git clone [email protected]:vaxXxa/dotfiles.git && cd dotfiles && make

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

$ make

Add custom commands without creating a new fork

If ~/.extra/.zsh/local.zsh 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 dont want to commit to a public repository.

My ~/.extra/.zsh/local.zsh looks something like this:

# Git credentials
git config --global "Vasyl Nakvasiuk"
git config --global "[email protected]"

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

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

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

# Overwrite environment variable
export EDITOR="emacs"

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

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

And in ~/.extra/.zsh/local-exports.zsh, ~/.extra/.zsh/local-aliases.zsh, ~/.extra/.zsh/local-work-settings.zsh you can add your own custom commands.

Colorscheme and font

I'm using "Base16 Eighties Dark 256" colorscheme and "Fira Code" + "Fira Code Nerd Font". Colorscheme files you can find at .extra/.zsh/base16-shell/ folder. Also I set different font size for ASCII and non-ASCII characters.


Thanks to...

Mathias Bynens for sharing his amazing collection of dotfiles.

Chris Hunt for nice dotfiles collection.

Chris Kempson for awesome color schemes.

Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Shell (171,489
Bash (18,689
Vim (18,654
Install (14,885
Dotfiles (10,802
Zsh (7,270
Center (5,316
Ascii (4,149
Neovim (4,050
Tmux (3,882
Color Scheme (2,995