summaryrefslogtreecommitdiff
path: root/misc/bash/go
diff options
context:
space:
mode:
Diffstat (limited to 'misc/bash/go')
-rw-r--r--misc/bash/go6
1 files changed, 6 insertions, 0 deletions
diff --git a/misc/bash/go b/misc/bash/go
new file mode 100644
index 000000000..caced154f
--- /dev/null
+++ b/misc/bash/go
@@ -0,0 +1,6 @@
+# install in /etc/bash_completion.d/ or your personal directory
+
+complete -f -X '!*.8' 8l
+complete -f -X '!*.6' 6l
+complete -f -X '!*.5' 5l
+complete -f -X '!*.go' 8g 6g 5g gofmt gccgo