From b28a7774bf5f1c78c79cca48c1a96b413b79a4de Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Mon, 3 Jun 2024 02:34:03 +0200 Subject: [PATCH] Add installation and uninstallation guide --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index bd53761..1264874 100644 --- a/README.md +++ b/README.md @@ -17,3 +17,20 @@ This list contains programs that are directly called by some script/alias/etc.. - fireplace - osu!boot - 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).