Go from freshly installed Linux/OS X to fully functioning faster than you can say "dot files"!
- steeef's dotfiles: Where I got the idea, parent repo, prompt ideas
- sorin's prezto: Stole his prompt theme, and his zsh framework
sudo <apt-get|brew|yum> install zsh vim git mercurial curl
hg clone https://bitbucket.org/sjl/hg-prompt/ ~/.hg-prompt
Prerequisites include Ruby, so let's install that using RVM:
RVM
curl -L get.rvm.io | bash -s stable
source "$HOME/.rvm/scripts/rvm"
rvm requirements
# install some stuff needed for Ruby (MRI)
rvm install 1.9.3
zsh
git clone --recursive git:https://github.com/haplesshero13/dotfiles ~/.dotfiles
cd ~/.dotfiles
rake install
setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
ln -si "$rcfile" "$ZDOTDIR/.${rcfile:t}"
done
curl -Lo- https://bit.ly/janus-bootstrap | bash
chsh -s /bin/zsh
I use the newly-named prezto, and thus my prompt theme and zshrc are configured for prezto.
I use Janus, with custom plugins which go in ~/.janus
. These are all listed as submodules of the main repo.
Custom configuration for specific machines goes in the ~/.zshrc-local
file.