added completion for build/install that checks the whole sbo repository, takes some...
[slackrepo-completion.git] / README.md
1 # SlackRepo Bash Completion
2
3 Bash completion file for [Slackrepo](http://idlemoor.github.io/slackrepo/index.html)
4
5 ## Getting Started
6
7 Just copy this file (as root) to /etc/bash_completion.d and then source it like this:
8 ```
9 #> cp slackrepo.completion /etc/bash_completion.d/slackrepo
10
11 #> . /etc/bash_completion.d/slackrepo
12 ```
13
14 ### Prerequisites
15
16 You need to have [bash-completion](https://github.com/scop/bash-completion) and of course [slackrepo](http://idlemoor.github.io/slackrepo/index.html)
17
18 ### Installing
19
20 If you want bash completion to be sourced everytime you run a shell add this at the beginning of your .bashrc file:
21 ```
22 # turns on bash autocompletion
23 if [ -f /etc/profile.d/bash_completion.sh ]; then
24 . /etc/profile.d/bash_completion.sh
25 fi
26 ```
27
28 ## Inspired by
29
30 The bash completion file for slackpkg
31
32 ## Contributing
33
34 Feel free to open issues and contribute however you feel like, I know the code isn't perfect.
35
36 ## Author
37
38 * **Danilo 'danix' Macrì** - *Initial work* - [danix.xyz](https://danix.xyz)
39
40 ## License
41
42 This project is licensed under the GPLv3 License - see the [LICENSE.md](LICENSE.md) file for details