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).