Skip to content

ffleming/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Installation

  1. 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
    
  2. Install rcm:
    brew tap thoughtbot/formulae && brew install rcm
    
  3. Link dotfiles:
    % env RCRC=$HOME/.dotfiles/rcrc rcup
    
  4. Run thoughtbot's laptop script:

Features

  • 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 doctor
  • github init to initialize a GitHub repo for the current Git repo and push to it
  • git create to initialize a git repo and and then call github 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.

About

Dotfiles!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published