summaryrefslogtreecommitdiffstats
path: root/extras/command-completion/Makefile
diff options
context:
space:
mode:
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