Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 1.17 KB

README.md

File metadata and controls

62 lines (43 loc) · 1.17 KB

bashrc

install local

  1. clone this repository

  2. link your .bashrc to the repositories bashrc file

    $ ln -s ~/location/of/the/clone/bashrc ~/.bashrc

install global

  1. clone this repository

  2. link your /etc/bash.bashrc or /etc/bash.bashrc.local to the repositories bashrc file

    $ ln -s /location/of/the/clone/bashrc /etc/bash.bashrc

or

``` sh
$ ln -s /location/of/the/clone/bashrc /etc/bash.bashrc.local
```

configuration

  1. global configuration

    $ vim /etc/bashrc.config
  2. local configuration

    NOTE: the local configuration takes precedence over the global configuration.

    $ vim ~/.bashrc.config
  3. configuration flags

    PSCOL=${REG}${COLYLW}  # default ps (prompt) color
    USRCOL=${BLD}${COLYLW} # the color used for the user
    HSTCOL=${BLD}${COLWHT} # the color used for the hostname
    
    SCMENABLED=1           # enable scm integration
    SCMDIRTY=1             # source code management dirty state
                           # enabled (default) or disabled

aliases

You can add all the aliases you want by putting .aliases in your home directory.