Skip to content

peagha/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Installation

git clone git@github.com:peagha/dotfiles.git ~/Code/dotfiles
cd ~/Code/dotfiles
./install

Warning: 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 symlinks to your home directory;
  • Inject the init.sh file in your ~/.profile;
  • Create a set of standard directories under ~/Code to organize your git repositories.

The init.sh script will:

  • Load bash_completion and rbenv;
  • Add cd shortcuts using CDPATH;
  • Load prompt customization;
  • Load aliases.

Prompt customization

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.

README todo

  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published