From: Philipp Hagemeister Date: Fri, 18 Oct 2013 21:13:46 +0000 (+0200) Subject: [bash-completion] Do not use dash in function name (Fixes #1623) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=3d2986063cbb688a840fea3334cddcd4067d2db7;p=youtube-dl [bash-completion] Do not use dash in function name (Fixes #1623) --- diff --git a/devscripts/bash-completion.in b/devscripts/bash-completion.in index bd10f63c2..ce893fcbe 100644 --- 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