1
0
Fork
You've already forked bashrc
0
My bashrc config
  • Shell 100%
BlackEagle 3d1afb0fb5 remove LS_COLORS, if you have dircolors its good enough
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
2020年09月28日 20:23:57 +02:00
bashrc remove LS_COLORS, if you have dircolors its good enough 2020年09月28日 20:23:57 +02:00
bashrc.config.example bashrc :: enable or disable the scm integration in the prompt 2013年06月13日 21:55:14 +02:00
LICENSE Create LICENSE 2014年08月05日 20:12:13 +02:00
README.md bashrc :: load aliasses from .aliasses 2015年10月23日 16:13:03 +02:00

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.