diff options
author | Vincent Bernat <vincent@bernat.ch> | 2021-03-13 18:12:56 +0100 |
---|---|---|
committer | Vincent Bernat <vincent@bernat.ch> | 2021-03-13 18:12:56 +0100 |
commit | dc708d5bed57af5b7f7968ab1845519d8458fc7f (patch) | |
tree | a42494f28f95b8c62a76bccd6cbd625660063eab | |
parent | 4df939a3c9dbf43509bab349b97847faa09db151 (diff) |
tools: don't use a shebang for bash completion
They are not expected to be executed. This seems a silly path, but
some people bother filing bug reports about it, so if you are OK with
it, it could be "fixed".
-rw-r--r-- | tools/completion/gobgp-completion.bash | 2 | ||||
-rw-r--r-- | tools/completion/gobgp-dynamic-completion.bash | 4 | ||||
-rw-r--r-- | tools/completion/gobgp-static-completion.bash | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/tools/completion/gobgp-completion.bash b/tools/completion/gobgp-completion.bash index a45e1fed..4c8494e2 100644 --- a/tools/completion/gobgp-completion.bash +++ b/tools/completion/gobgp-completion.bash @@ -1,4 +1,4 @@ -#!/bin/bash +# bash completion for gobgp -*- shell-script -*- . `dirname $BASH_SOURCE`/gobgp-static-completion.bash . `dirname $BASH_SOURCE`/gobgp-dynamic-completion.bash diff --git a/tools/completion/gobgp-dynamic-completion.bash b/tools/completion/gobgp-dynamic-completion.bash index f6a93dda..66b964cf 100644 --- a/tools/completion/gobgp-dynamic-completion.bash +++ b/tools/completion/gobgp-dynamic-completion.bash @@ -1,4 +1,4 @@ -#!/bin/bash +# bash completion for gobgp -*- shell-script -*- __gobgp_q() { @@ -1698,4 +1698,4 @@ _gobgp_policy_statement_sname() must_have_one_flag=() must_have_one_noun=() -}
\ No newline at end of file +} diff --git a/tools/completion/gobgp-static-completion.bash b/tools/completion/gobgp-static-completion.bash index 0d658af8..76597c65 100644 --- a/tools/completion/gobgp-static-completion.bash +++ b/tools/completion/gobgp-static-completion.bash @@ -1,4 +1,4 @@ -#!/bin/bash +# bash completion for gobgp -*- shell-script -*- _gobgp_global_rib_add() { @@ -2064,4 +2064,4 @@ _gobgp() must_have_one_flag=() must_have_one_noun=() -}
\ No newline at end of file +} |