added completion for build/install that checks the whole sbo repository, takes some...
[slackrepo-completion.git] / README.md
CommitLineData
35692e7e 1# SlackRepo Bash Completion
2
3Bash completion file for [Slackrepo](http://idlemoor.github.io/slackrepo/index.html)
4
5## Getting Started
6
acdeb92d 7Just copy this file (as root) to /etc/bash_completion.d and then source it like this:
35692e7e 8```
9bbc8d37 9#> cp slackrepo.completion /etc/bash_completion.d/slackrepo
d057d860 10
acdeb92d 11#> . /etc/bash_completion.d/slackrepo
35692e7e 12```
13
14### Prerequisites
15
d057d860 16You need to have [bash-completion](https://github.com/scop/bash-completion) and of course [slackrepo](http://idlemoor.github.io/slackrepo/index.html)
35692e7e 17
18### Installing
19
20If 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
23if [ -f /etc/profile.d/bash_completion.sh ]; then
24 . /etc/profile.d/bash_completion.sh
25fi
26```
27
28## Inspired by
29
30The bash completion file for slackpkg
31
32## Contributing
33
34Feel 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
42This project is licensed under the GPLv3 License - see the [LICENSE.md](LICENSE.md) file for details