Set zsh as your login shell:
chsh -s $(which zsh)
Check out the dotfiles:
git clone https://github.com/icelab/dotfiles.git ~/.dotfiles-icelab
Install the dotfiles:
~/.dotfiles-icelab/script/setup
From time to time, pull down any updates to these dotfiles:
cd ~/.dotfiles-icelab
git pull
Then apply them:
rcup
Put your customizations in dotfiles ending with .local
:
~/.aliases.local
~/.gitconfig.local
~/.zshenv.local
~/.zshrc.local
For example, your ~/.aliases.local
might look like this:
# Personal git shortcuts
alias gs='git status'
alias gd='git diff'
Your ~/.gitconfig.local
might look like this:
[user]
name = Tim Riley
email = [email protected]
Your ~/.zshenv.local
might look like this:
# Use Sublime Text as default editor
export VISUAL=subl
export EDITOR=$VISUAL
You can put additional zsh configuration in the ~/.zsh/configs
directory. This
includes two special subdirectories: pre
, for files that must be loaded first,
and post
, for files that must be loaded last.
The ~/.zshrc.local
file is loaded after ~/.zsh/configs
.
The rcrc
configuration in these dotfiles also looks for a separate
~/.dotfiles
directory. If you create this directory, fill it with your own
dotfiles, then run rcup
, those dotfiles will be used in combination with (and
in preference to) these ones. See Tim's dotfiles as an example.
Thanks to Thoughtbot for rcm and their own dotfiles, which formed the basis for this collection.
These dotfiles are maintained by Icelab.