Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fnichol/bashrc
cross platform bash configuration for system deployments
https://github.com/fnichol/bashrc
Last synced: 13 days 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 (about 14 years ago)
- Default Branch: master
- Last Pushed: 2024-10-03T21:43:33.000Z (about 1 month ago)
- Last Synced: 2024-10-15T19:44:15.772Z (29 days ago)
- Language: Shell
- Homepage:
- Size: 434 KB
- Stars: 51
- 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
}
```