- Install dotfiles:
- Set zsh as your login shell if it isn't already:
$ chsh -s $(which zsh)
- Perform the installation:
% git clone --recursive [email protected]:ffleming/dotfiles.git ~/.dotfiles
- Install rcm:
brew tap thoughtbot/formulae && brew install rcm
- Link dotfiles:
% env RCRC=$HOME/.dotfiles/rcrc rcup
- Run thoughtbot's laptop script:
- A simple but informative Git prompt (all the pre-made ones I could find were either too busy or too uninformative for my purposes).
- Shows the current branch name or commit id.
- Color-coding by status: clean, clean but not pushed, uncommitted.
reload!
to source~/.zshrc
- Safeguard aliases for destructive shell commands
desktop (show/hide)
to show/hide the Desktop (for Macs)hidden_files (show/hide)
to show/hide hidden files (Macs)update_homebrew
to run brew update, upgrade, cleanup, and doctorgithub init
to initialize a GitHub repo for the current Git repo and push to itgit create
to initialize a git repo and and then callgithub init
Originally forked from Jake Romer's dotfiles, themselves forked from Thoughtbot's dotfiles. I have sinced moved them to a new repository, but many of the functions, etc. are theirs.