summaryrefslogtreecommitdiffstats
path: root/extras/command-completion/Makefile
diff options
context:
space:
mode:
authorVarun Shastry <vshastry@redhat.com>2014-06-04 15:01:14 +0530
committerVijay Bellur <vbellur@redhat.com>2014-06-13 09:56:39 -0700
commit17f366722124cef253822ba3d78c560e766cb242 (patch)
tree4b1bfa4920b3419e87723d849d200cf7ef757009 /extras/command-completion/Makefile
parenta41f212e4b5bf74e2752370de10b754a1fa3f675 (diff)
extras: bash command completion for gluster
Change-Id: Ifd6e68b0288dc65e41e467b4ad02bfc3bded341f BUG: 1108767 Signed-off-by: Varun Shastry <vshastry@redhat.com> Reviewed-on: http://review.gluster.org/7979 Reviewed-by: Lalatendu Mohanty <lmohanty@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'extras/command-completion/Makefile')
-rw-r--r--extras/command-completion/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/extras/command-completion/Makefile b/extras/command-completion/Makefile
new file mode 100644
index 00000000000..06cbfe0672f
--- /dev/null
+++ b/extras/command-completion/Makefile
@@ -0,0 +1,6 @@
+install:
+ mkdir -p /etc/bash_completion.d
+ cp gluster.bash /etc/bash_completion.d/gluster
+
+uninstall:
+ rm -f /etc/bash_completion.d/gluster