https://github.com/stablecaps/stablecaps_bashrc
A lightweight bashrc suitable for rapid installation on multiple machines
https://github.com/stablecaps/stablecaps_bashrc
Last synced: 21 days ago
JSON representation
A lightweight bashrc suitable for rapid installation on multiple machines
- Host: GitHub
- URL: https://github.com/stablecaps/stablecaps_bashrc
- Owner: stablecaps
- Created: 2023-08-06T01:25:22.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-13T23:10:19.000Z (about 2 years ago)
- Last Synced: 2024-04-14T00:25:45.702Z (about 2 years ago)
- Language: Shell
- Size: 4.23 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stablecaps bashrc
## Premise
Slimmed down sysadmin .bashrc that should hopefully have minimal system dependencies. Created over a decade from stuff I found on the net, wrote myself and borrowed from the excellent [bash-it](https://github.com/Bash-it/bash-it), and [ohmyzsh](https://ohmyz.sh/).
## Extended Documentation >> https://stablecaps.github.io/stablecaps_bashrc/
## Installation - Git Clone
```
cd
git clone https://github.com/stablecaps/stablecaps_bashrc.git
mv .bashrc .your_old_bashrc
ln -fs ~/stablecaps_bashrc/_bashrc ~/.bashrc
source ~/.bashrc
```
## Installation - wget & unzip
```sh
sudo apt install wget jq unzip
cd
mv .bashrc .your_old_bashrc
#
RELEASE_VERSION=$(wget -q -nv -O- "https://api.github.com/repos/stablecaps/stablecaps_bashrc/releases/latest" | jq '.tag_name' | sed 's|v||g' | sed 's|"||g')
wget https://github.com/stablecaps/stablecaps_bashrc/archive/refs/tags/v${RELEASE_VERSION}.zip -O stablecaps_bashrc.zip
unzip stablecaps_bashrc.zip
mv stablecaps_bashrc-${RELEASE_VERSION} stablecaps_bashrc
ln -fs ~/stablecaps_bashrc/_bashrc ~/.bashrc
source ~/.bashrc
```