Optional:
Be sure, you had these installed before proceeding.
Clone onto your laptop:
git clone git:https://github.com/melekes/dotfiles.git
(Or, fork and keep your fork updated).
Install rcm:
brew install rcm
Install:
rcup -d dotfiles -x README.md -x LICENSE
This will create symlinks for config files in your home directory. The
-x
options, which exclude the README.md
and LICENSE
files, are
needed during installation but can be skipped once the .rcrc
configuration file is symlinked in.
You can safely run rcup
multiple times to update:
rcup
Install Vim plugins: open Vim and type :PlugInstall
.
Install Tmux plugins: run tmux and hit Ctrl-f + I
.
Put your customizations in dotfiles appended with .local
:
~/.aliases.local
~/.gitconfig.local
~/.tmux.conf.local
~/.zshrc.local
~/.config/nvim/init.vim.local
For example, your ~/.aliases.local
might look like this:
# Productivity
alias todo='$EDITOR ~/.todo'
Your ~/.gitconfig.local
might look like this:
[alias]
l = log --pretty=colored
[pretty]
colored = format:%Cred%h%Creset %s %Cgreen(%cr) %C(boldblue)%an%Creset
[user]
name = Joe Black
email = [email protected]
Your ~/.config/fish/config.fish.local
might look like this:
set PATH $PATH /usr/local/bin
e
for $EDITOR- git aliases (
gst
,gci
,ga
, etc.)
These dotfiles are heavily inspired by holman does dotfiles. Installation process is now handled by awesome thougtbot/rcm.