git clone [email protected]:peagha/dotfiles.git ~/Code/dotfiles
cd ~/Code/dotfiles
./installWarning: the current version uses my gitconfig and some scripts have hardcoded strings (prompt.sh checks for a plataformatec email).
The install script will:
- Add symlinks for each file under
symlinksto your home directory; - Inject the
init.shfile in your~/.profile; - Create a set of standard directories under
~/Codeto organize your git repositories.
The init.sh script will:
- Load
bash_completionandrbenv; - Add cd shortcuts using CDPATH;
- Load
promptcustomization; - Load
aliases.
Adds info to your prompt; example: 🏠 dotfiles | 2.4.2 (master) $
Prompt has the format <git email> <folder> | <ruby version> (<git branch>) $ where:
git email: An emoji shows if you are using your work (🏢) or personal (🏠) email on git commits;folder: Current folder;ruby version: Current rbenv Ruby version;git branch: Current git branch. Omitted if current folder isn't a git repo.
- Add instructions for creating your own version of the dotfiles;
- Make init.sh idempotent.
- CDPATH has duplicated entries after a reload.
Forked version of https://github.com/lucasmazza/dotfiles