Loading completion/feed2exec 0 → 100644 +8 −0 Original line number Diff line number Diff line _feed2exec_completion() { COMPREPLY=( $( env COMP_WORDS="${COMP_WORDS[*]}" \ COMP_CWORD=$COMP_CWORD \ _FEED2EXEC_COMPLETE=complete $1 ) ) return 0 } complete -F _feed2exec_completion -o default feed2exec; setup.py +11 −0 Original line number Diff line number Diff line Loading @@ -138,5 +138,16 @@ if __name__ == '__main__': ], }, tests_require=['pytest', 'vcrpy'], data_files=[ # this completion file is generated with: # _FEED2EXEC_COMPLETE=source feed2exec # see http://click.pocoo.org/6/bashcomplete/ # # we could also build it on the fly, but it's unlikely # to change, see also: # http://www.digip.org/blog/2011/01/generating-data-files-in-setup.py.html ('/usr/share/bash-completion/completions/', ['completion/feed2exec']), ], classifiers=classifiers, ) Loading
completion/feed2exec 0 → 100644 +8 −0 Original line number Diff line number Diff line _feed2exec_completion() { COMPREPLY=( $( env COMP_WORDS="${COMP_WORDS[*]}" \ COMP_CWORD=$COMP_CWORD \ _FEED2EXEC_COMPLETE=complete $1 ) ) return 0 } complete -F _feed2exec_completion -o default feed2exec;
setup.py +11 −0 Original line number Diff line number Diff line Loading @@ -138,5 +138,16 @@ if __name__ == '__main__': ], }, tests_require=['pytest', 'vcrpy'], data_files=[ # this completion file is generated with: # _FEED2EXEC_COMPLETE=source feed2exec # see http://click.pocoo.org/6/bashcomplete/ # # we could also build it on the fly, but it's unlikely # to change, see also: # http://www.digip.org/blog/2011/01/generating-data-files-in-setup.py.html ('/usr/share/bash-completion/completions/', ['completion/feed2exec']), ], classifiers=classifiers, )