projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41fd7c7
)
[bash-completion] Do not use dash in function name (Fixes #1623)
author
Philipp Hagemeister
<phihag@phihag.de>
Fri, 18 Oct 2013 21:13:46 +0000
(23:13 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Fri, 18 Oct 2013 21:13:46 +0000
(23:13 +0200)
devscripts/bash-completion.in
patch
|
blob
|
history
diff --git
a/devscripts/bash-completion.in
b/devscripts/bash-completion.in
index bd10f63c2f2615168a482085ad156a9f4e330ddd..ce893fcbe1a681e535452c35f5b833eea54b2d95 100644
(file)
--- a/
devscripts/bash-completion.in
+++ b/
devscripts/bash-completion.in
@@
-1,4
+1,4
@@
-__youtube
-
dl()
+__youtube
_
dl()
{
local cur prev opts
COMPREPLY=()
@@
-15,4
+15,4
@@
__youtube-dl()
fi
}
-complete -F __youtube
-
dl youtube-dl
+complete -F __youtube
_
dl youtube-dl