summaryrefslogtreecommitdiffhomepage
path: root/tools/completion/gobgp-completion.bash
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-05-17 10:57:54 +0000
committerISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-05-17 11:02:02 +0000
commit982c5de889e8dd54593d17c90033dc45022e1bcc (patch)
treea89626d34e70b2cca16f6f4bbfc76cb4c8f5fc0e /tools/completion/gobgp-completion.bash
parent8fd25af4ce9ab902e24eb06644ef2e9c42cee7e0 (diff)
tools: support loading completion scripts when bash boots up
[ci skip] Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'tools/completion/gobgp-completion.bash')
-rw-r--r--tools/completion/gobgp-completion.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/completion/gobgp-completion.bash b/tools/completion/gobgp-completion.bash
index 2d7dc885..a45e1fed 100644
--- a/tools/completion/gobgp-completion.bash
+++ b/tools/completion/gobgp-completion.bash
@@ -1,7 +1,7 @@
#!/bin/bash
-. ./gobgp-static-completion.bash
-. ./gobgp-dynamic-completion.bash
+. `dirname $BASH_SOURCE`/gobgp-static-completion.bash
+. `dirname $BASH_SOURCE`/gobgp-dynamic-completion.bash
__debug()
{