Skip to content

The-RC-Project/the__rc_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The __rc Project

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.

Install

  1. Clone this repository into your home directory. note This repository will save as a hidden folder named .__rc
  2. Source .__rc/.bashrc from your shells RC file eg(.bash_profile or .bashrc)
#!/bin/bash
# file: ~/.bashrc/

[[ -f ~/.__rc/.bashrc ]] && source ~/.__rc/.bashrc

Usage

[[ -f "$HOME/.__rc/bin/sourceShellScripts" ]] && source "$HOME/.__rc/bin/sourceShellScripts"

# Create list of function names to load in shell
list=()

sourceShellScripts "${list[*]}"

login shell vs non-login shell

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages