Add README.md
This commit is contained in:
parent
e6e0cb4443
commit
90746402aa
23
README.md
Normal file
23
README.md
Normal file
|
@ -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
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user