summaryrefslogtreecommitdiff
path: root/shell-completion/bash/hostnamectl
AgeCommit message (Collapse)Author
2013-07-30bash-completion: use a better definition of __contains_wordDave Reisner
- scope the iterator var - use the correct, quoted, non-expansion prone positional parameter notation - prevent expansion on RHS of comparison - remove unneeded explicit returns. This really should be defined only once...
2013-03-03bash-completion: split completions and move to new locationMichael Biebl
Split the large bash completion script into separate, smaller files each named after the binary it is used for and move the files to /usr/share/bash-completion/completions. This way the completions can be loaded on demand and we only install the completions for the tools we actually build. The old path /etc/bash_completion.d/ is deprecated and will disappear in the future.