Awesome
bashrc
install local
-
clone this repository
-
link your .bashrc to the repositories bashrc file
$ ln -s ~/location/of/the/clone/bashrc ~/.bashrc
install global
-
clone this repository
-
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
-
global configuration
$ vim /etc/bashrc.config
-
local configuration
NOTE: the local configuration takes precedence over the global configuration.
$ vim ~/.bashrc.config
-
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.