projects
/
mdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21ec703
)
Removing unused bash completion function
author
Frederic Massart
<fmcell@gmail.com>
Sat, 14 Dec 2013 15:40:31 +0000
(16:40 +0100)
committer
Frederic Massart
<fmcell@gmail.com>
Sat, 14 Dec 2013 15:40:31 +0000
(16:40 +0100)
extra/bash_completion
patch
|
blob
|
history
diff --git
a/extra/bash_completion
b/extra/bash_completion
index
5b932b9
..
942018d
100644
(file)
--- a/
extra/bash_completion
+++ b/
extra/bash_completion
@@
-25,18
+25,6
@@
# ln -s bash_completion /etc/bash_completion.d/mdk
# source /etc/bash_completion.d/mdk
-function _gt() {
- local BIN CUR OPTS
- BIN="mdk"
- CUR="${COMP_WORDS[COMP_CWORD]}"
- OPTS=""
- if [[ "${COMP_CWORD}" == 1 ]]; then
- OPTS=$($BIN info -ln 2> /dev/null)
- fi
- COMPREPLY=( $(compgen -W "${OPTS}" -- ${CUR}) )
- return 0
-}
-
function _mdk() {
local BIN CMD CUR PREV OPTS
COMPREPLY=()