Coder Social home page Coder Social logo

bash.d's Introduction

BASH LOADER

Installation

  • clone repository on your home folder
    git clone [email protected]:hagnat/bash.d.git .bash.d
  • run the installer -- WARNING the installer will overwrite your original .bashrc script
    cd ~/.bash.d
    make install
    source ~/.bashrc

Usage

Defining the PS1 color

The file ~/.bash.d/global-conf/10-colored-ps1 offers a set of simple colored PS1. Makefile already has a list of scripts for switching colors, so just choose one of them

    make green
    source ~/.bashrc

Creating your own initialization scripts

Any script included in the ~/.bash.d/local-conf/ folder will be ignored by git, thus allowing you to included custom initialization scripts on it.

The make green command, for example, creates a file named ~/.bash.d/local-conf/10-colored-ps1 with your color selection enabled.

Deprecated configurations

Older scripts are stored on the ~/.bash.d/deprecated-conf/ folder, just in case they are to be restored to use later, to save as helpers for newer scripts, or just for memento's sake.

Credits

  • Evaldo Junior, for being a command line nerd and storing his own preferences on github
  • Egor Kenkhin, for inspiring me to switch PS1 colors between DEV and PROD environment
  • all the contributors of github/gitignore, which helped create the global ignore files used here

bash.d's People

Contributors

cb-valdir-bruxel avatar hagnat avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

peterojo

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.