chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d4060bb
)
update bash completion commenting to match standards
author
Hans-Christoph Steiner
<hans@eds.org>
Tue, 28 Feb 2017 13:46:37 +0000
(14:46 +0100)
committer
Hans-Christoph Steiner
<hans@eds.org>
Mon, 6 Mar 2017 10:53:58 +0000
(11:53 +0100)
completion/bash-completion
patch
|
blob
|
history
diff --git
a/completion/bash-completion
b/completion/bash-completion
index f2632d676baf797e55bd082f87a54d5667a00b86..bdaa2cbb97dd261950b73e129ff2050aff254cf0 100644
(file)
--- a/
completion/bash-completion
+++ b/
completion/bash-completion
@@
-1,8
+1,8
@@
-#
!/bin/bash
+#
fdroid(1) completion -*- shell-script -*-
#
# bash-completion - part of the FDroid server tools
#
# bash-completion - part of the FDroid server tools
-# Bash completion for the fdroid main tools
#
#
+# Copyright (C) 2013-2017 Hans-Christoph Steiner <hans@eds.org>
# Copyright (C) 2013, 2014 Daniel Martà <mvdan@mvdan.cc>
#
# This program is free software: you can redistribute it and/or modify
# Copyright (C) 2013, 2014 Daniel Martà <mvdan@mvdan.cc>
#
# This program is free software: you can redistribute it and/or modify
@@
-18,17
+18,6
@@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# 'fdroid' is completed automatically, but aliases to it are not.
-# For instance, to alias 'fd' to 'fdroid' and have competion available:
-#
-# alias fd='fdroid'
-# complete -F _fdroid fd
-#
-# One can use completion on aliased subcommands as follows:
-#
-# alias fbuild='fdroid build'
-# complete -F _fdroid_build fbuild
-
__fdroid_init() {
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
__fdroid_init() {
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"