Add installation and uninstallation guide

This commit is contained in:
JeremyStar™ 2024-06-03 02:34:03 +02:00
parent b9cab71d26
commit b28a7774bf
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -17,3 +17,20 @@ This list contains programs that are directly called by some script/alias/etc..
- fireplace - fireplace
- osu!boot - osu!boot
- many extraction tools (7z, bzip, etc.), see function.sh#extract(). - many extraction tools (7z, bzip, etc.), see function.sh#extract().
## Installation
### User-wide
```bash
git clone https://git.staropensource.de/JeremyStarTM/punktdateien-bashrc.git ${HOME}/.bashrc.d
echo "source \${HOME}/.bashrc.d/startup.sh" >> ${HOME}/.bashrc
```
... now restart your shell.
### System-wide
```bash
git clone https://git.staropensource.de/JeremyStarTM/punktdateien-bashrc.git /etc/bashrc.d
echo -e "export BASHRCD_SYSTEM=true\nsource /etc/bashrc.d/startup.sh" >> /etc/bash.bashrc
```
... now restart your shell.
## Uninstallation
Simply remove `${HOME}/.bashrc.d` or `/etc/bashrc.d` (depending on your installation method) and the `source .../startup.sh` line (+ `export BASHRCD_SYSTEM=true` for system-wide installs).