Make an initial RPM package for COPR

I'm not a RPM pro, so patches welcome! I'm surely doing something wrong.
This commit is contained in:
James Shubin
2016-02-12 11:26:12 -05:00
parent e921dfa498
commit fc14e5c70e
7 changed files with 319 additions and 9 deletions

13
misc/mgmt.bashrc Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
_cli_bash_autocomplete_mgmt() {
local cur prev opts base
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts=$( ${COMP_WORDS[@]:0:$COMP_CWORD} --generate-bash-completion )
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
}
complete -F _cli_bash_autocomplete_mgmt mgmt