Simplify maintaining your runtime configurations and setup across devices.
__rc
uses a modular approach to
spinning up, maintianing and using your .rc
files. When I was a contractor I frequently had
to setup a new computer porting over my helper functions I created.
- Clone this repository into your home directory.
note This repository will save as a hidden folder named
.__rc
- Source
.__rc/.bashrc
from your shells RC file eg(.bash_profile
or.bashrc
)
#!/bin/bash
# file: ~/.bashrc/
[[ -f ~/.__rc/.bashrc ]] && source ~/.__rc/.bashrc
[[ -f "$HOME/.__rc/bin/sourceShellScripts" ]] && source "$HOME/.__rc/bin/sourceShellScripts"
# Create list of function names to load in shell
list=()
sourceShellScripts "${list[*]}"