GithubHelp home page GithubHelp logo

dotfiles's Introduction

dotfiles

Installation

git clone [email protected]: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

dotfiles's People

Contributors

peagha avatar

Stargazers

Paulo Henrique da Silva avatar Hilder Santos avatar Bernardo avatar

Forkers

hildersantos

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.