From 90746402aa092f236f1c8bc493b9d4312293efb6 Mon Sep 17 00:00:00 2001 From: qowevisa Date: Sat, 30 Nov 2024 08:40:08 +0200 Subject: [PATCH] Add README.md --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..fd2bd48 --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# Bash-Autocomplete-Extra + +The name speaks for itself. + +## Install + +As I use this repository for programs that are available only for my user I added this to my `~/.bashrc` file +```bash +if [[ -d ~/.local/share/bash-completions/completions/ ]]; then + for f in ~/.local/share/bash-completions/completions/*; do + [[ -f "$f" && -r "$f" ]] && . "$f" + done +fi +``` + +This repository is 'based' in `~/.local/share/bash-completions/` folder so BE AWARE what next commands do +```bash +mkdir -p ~/.local/share/ +git clone https://git.qowevisa.me/qowevisa/bash-autocomplete-extra ~/.local/share/bash-completions/ +# optional but if you want to get rid of the README.md file I don't mind +cd ~/.local/share/bash-completions/ +rm README.md +```