This repository holds our opinionated configuration files.
Review the script and run the following command:
curl -fsSL https://raw.githubusercontent.com/anvilabs/dotfiles/master/install.sh | sh
You can also fork this repo and keep it updated in case you want to make customizations.
You can also try these dotfiles without polluting your development environment.
First install Vagrant and VirtualBox. Then set up a Sierra machine by running:
vagrant init jhcook/macos-sierra
vagrant up --provider virtualbox
Unix:
- zsh as your default shell
- zplug for managing zsh plugins
- vim-plug for managing vim plugins
- tpm for managing tmux plugins
- Powerline for your shell prompt
- A cron job to regularly update your global packages
- trash as a replacement for the
rm
command
Programming language environments (if you want them):
Bundled zsh plugins:
- fzf fuzzy finder
- z integrated with fzf. Run the
z
command to see the list of your most used directories - k as a replacement for
ls
- History substring search with UP and DOWN arrows
- Additional completion definitions
- Syntax highlighting
- Useful macOS utilities
- A helper to remember shell aliases
Bundled Vim plugins:
- Syntax checking
- Git diff in the "gutter"
- Go to Terminal or File manager
- Better Javascript syntax support
- Commenting out
- Git wrapper
- Enable repeating supported plugin maps
- Quoting/parenthesizing
- Code completion
- fzf commands
Bundled tmux plugins (run prefix + I
to install them):
- Basic tmux settings everyone can agree on
- Standard pane key-bindings
- Prefix key press indicator
- Copying to system clipboard
This repo also includes the Base16 Ocean Dark color theme both for Terminal.app and iTerm2, and the Monoid font.
Put your customizations either in ~/.dotfiles-local/symlinks/
or at the root appended with .local
. Customizable symlinks include:
gitconfig.local
tmux.conf.local
tmux.plugins.local
vimrc.local
vimrc.bundles.local
zshenv.local
zshrc.local
zshrc.plugins.local
For example, your gitconfig.local
might look like the following:
[user]
name = Ayan Yenbekbays
email = ayan.yenb@gmail.com
github = yenbekbay
signingkey = ayan.yenb@gmail.com
[commit]
gpgsign = true
[gpg]
program = /usr/local/bin/gpg2
If you added your local dotfiles in ~/.dotfiles-local/symlinks
, run syncdotfiles
to apply your changes.
Inspired by:
MIT License © Anvilabs LLC