https://github.com/fnichol/bashrc
cross platform bash configuration for system deployments
https://github.com/fnichol/bashrc
Last synced: 2 months ago
JSON representation
cross platform bash configuration for system deployments
- Host: GitHub
- URL: https://github.com/fnichol/bashrc
- Owner: fnichol
- Created: 2010-09-01T05:02:55.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2025-04-01T18:57:56.000Z (3 months ago)
- Last Synced: 2025-04-09T16:17:26.187Z (2 months ago)
- Language: Shell
- Homepage:
- Size: 479 KB
- Stars: 50
- Watchers: 5
- Forks: 23
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Installation
### System-Wide Deployment
```sh
curl -L https://raw.githubusercontent.com/fnichol/bashrc/master/contrib/install-system-wide | sudo bash
```### Local (User) Deployment
```sh
curl -L https://raw.githubusercontent.com/fnichol/bashrc/master/contrib/install-local | bash
```### Delay Loading Your Local Deployment
Simply wrap the code in your `${HOME}/.bash_profile` with a function, like so:```sh
bl() {
if [[ -s "${HOME}/.bash/bashrc" ]] ; then
bashrc_local_install=1
bashrc_prefix="${HOME}/.bash"
export bashrc_local_install bashrc_prefix
source "${bashrc_prefix}/bashrc"
fi
}
```