This is my personal dotfiles (e.g. .bashrc, .zshrc, etc.)
Feel free to use them as is and file pull requests or issues.
And of course, borrow whatever you want!
Install
rcmClone the
dotfilesrepository as~/.dotfiles:git clone https://github.com/docwhat/dotfiles.git .dotfiles
rcup && rcup— This second run picks up changes to the~/.rcrcfile from the first run.
To make changes, customize, or override my files you can create
~/.dotfiles-custom.
To get started:
mkdir ~/.dotfiles-custom
cd~/.dotfiles-custom
git initNOTE: If you're upgrading from an older version of my dotfiles, you
may need to update your ~/.rcrc file. Ensure it has
${HOME}/.dotfiles-custom in the DOTFILES_DIRS. See
rcrc.example.
To replace my files, use the same path in the repository.
A lot of config files support local versions.
An incomplete list:
- NeoVim
config/nvim/local.vim
- Vim
vimrc.local-pre— sourced at the start of the.vimrcvimrc.local— sourced at the end of the.vimrc
- Git
config/git/local
If you want to store secrets or personal info, you can use
~/.dotfiles-personal the same way as with ~/.dotfiles-custom
You may or may not want to use git to store this and you shouldn't
upload it to a public GitHub repository.
Use the tools-update command. It offers suggestions of other commands
you can run.
$ tools-update --help
===================================================
Help
===================================================
Usage:tools-update [updater...]
default updates the dotfiles and runs 'rcup'
all aliasfor all the commands
alfred alfred configuration files
brew Manage brew via the ~/.Brewfile
docker docker completion files
fonts fonts for macOS
gems Ruby gems
neovim nvim plugins and plugin manager
node-cli Node CLI applications
pip python packages (2 & 3)
rbenv rbenv plugins
terms updates TERM entries for terminfo
tmux tmux plugin manager and plugins
zplug zplug and its plugins
zsh
$ tools-update default tmux zplug zsh
===================================================
Updating dotfiles
===================================================
∓ Dotfiles
Can't update /Users/docwhat/.dotfiles repository due to changes: M README.md∓ Personal Dotfiles Already up to date. Current branch master is up to date.λ7 ./broken-links:7 declare -ar broken=( )λ7 ./broken-links:17 rm -vf===================================================Tmux===================================================∓ Tmux Package Manager Already up to date. Current branch master is up to date.∓ tmux plugin tmux-copycat Already up to date. Current branch master is up to date.∓ tmux plugin tmux-fpp Already up to date. Current branch master is up to date.∓ tmux plugin tmux-open Already up to date. Current branch master is up to date.∓ tmux plugin tmux-pain-control Already up to date. Current branch master is up to date.∓ tmux plugin tmux-prefix-highlight Already up to date. Current branch master is up to date.∓ tmux plugin tmux-sensible Already up to date. Current branch master is up to date.∓ tmux plugin tmux-yank Already up to date. Current branch master is up to date.∓ tmux plugin tpm Already up to date. Current branch master is up to date.===================================================Zplug===================================================z updating zplug [zplug] --self: unknown optionz updating plugins [zplug] Start to update 0 plugins in parallel [zplug] Elapsed time: 0.0196 sec. ==> Updating finished successfully!===================================================Zsh===================================================zcompile /Users/docwhat/.zshrczcompile /Users/docwhat/.zshenvzcompile /Users/docwhat/.zprofilezcompile /Users/docwhat/.zsh/startup/99ibm.zprofilezcompile /Users/docwhat/.zsh/startup/default_user.zprofilezcompile /Users/docwhat/.zsh/startup/github.zprofilezcompile /Users/docwhat/.zsh/startup/homebrew.zprofilezcompile /Users/docwhat/.zsh/startup/java.zprofilezcompile /Users/docwhat/.zsh/startup/kube-solo.zprofilezcompile /Users/docwhat/.zsh/startup/locale.zprofilezcompile /Users/docwhat/.zsh/startup/macos.zprofilezcompile /Users/docwhat/.zsh/startup/openstack.zprofilezcompile /Users/docwhat/.zsh/startup/perl.zprofilezcompile /Users/docwhat/.zsh/startup/personal.zprofilezcompile /Users/docwhat/.zsh/startup/python.zprofilezcompile /Users/docwhat/.zsh/startup/rust.zprofilezcompile /Users/docwhat/.zsh/startup/ssh.zprofilezcompile /Users/docwhat/.zsh/startup/zsh.zprofilezcompile /Users/docwhat/.zsh/startup/000zsh.zshenvzcompile /Users/docwhat/.zsh/startup/00comp.zshenvzcompile /Users/docwhat/.zsh/startup/ack.zshenvzcompile /Users/docwhat/.zsh/startup/asdf.zshenvzcompile /Users/docwhat/.zsh/startup/bash.zshenvzcompile /Users/docwhat/.zsh/startup/chef.zshenvzcompile /Users/docwhat/.zsh/startup/docker.zshenvzcompile /Users/docwhat/.zsh/startup/file.zshenvzcompile /Users/docwhat/.zsh/startup/fzf.zshenvzcompile /Users/docwhat/.zsh/startup/golang.zshenvzcompile /Users/docwhat/.zsh/startup/haskell.zshenvzcompile /Users/docwhat/.zsh/startup/homebrew.zshenvzcompile /Users/docwhat/.zsh/startup/macos.zshenvzcompile /Users/docwhat/.zsh/startup/make.zshenvzcompile /Users/docwhat/.zsh/startup/node.zshenvzcompile /Users/docwhat/.zsh/startup/pagers-editors.zshenvzcompile /Users/docwhat/.zsh/startup/prompt.zshenvzcompile /Users/docwhat/.zsh/startup/python.zshenvzcompile /Users/docwhat/.zsh/startup/rust.zshenvzcompile /Users/docwhat/.zsh/startup/snap.zshenvzcompile /Users/docwhat/.zsh/startup/terminals.zshenvzcompile /Users/docwhat/.zsh/startup/tmux.zshenvzcompile /Users/docwhat/.zsh/startup/z-nodenv.zshenvzcompile /Users/docwhat/.zsh/startup/z-rbenv.zshenvzcompile /Users/docwhat/.zsh/startup/zsh.zshenvzcompile /Users/docwhat/.zsh/startup/zz-last.zshenvzcompile /Users/docwhat/.zsh/functions/_dockerzcompile /Users/docwhat/.zsh/functions/_docker-composezcompile /Users/docwhat/.zsh/functions/_docker-machinezcompile /Users/docwhat/.zsh/functions/_gotmuxzcompile /Users/docwhat/.zsh/functions/_gulpzcompile /Users/docwhat/.zsh/functions/_kindzcompile /Users/docwhat/.zsh/functions/_kubectlzcompile /Users/docwhat/.zsh/functions/_rustupzcompile /Users/docwhat/.zsh/functions/_tmutilzcompile /Users/docwhat/.zsh/functions/_tools-updatezcompile /Users/docwhat/.zsh/functions/colorizezcompile /Users/docwhat/.zsh/functions/offsetzcompile /Users/docwhat/.zsh/functions/prompt_docwhat2_precmdzcompile /Users/docwhat/.zsh/functions/prompt_docwhat2_rubyzcompile /Users/docwhat/.zsh/functions/prompt_docwhat2_scharszcompile /Users/docwhat/.zsh/functions/prompt_docwhat2_setupzcompile /Users/docwhat/.zsh/functions/prompt_docwhat_setup