An open API service indexing awesome lists of open source software.

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

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
```