summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-12-11 13:54:00 -0800
committerRuss Cox <rsc@golang.org>2009-12-11 13:54:00 -0800
commit1d0e078f040c63587ea347ab8e8e73bd534bdee1 (patch)
treea6eab5a052a3be3ea356b1a76e3b5ffc7e15b892
parent024345082c86c24ad9d34d8200bb513837088e36 (diff)
downloadgolang-1d0e078f040c63587ea347ab8e8e73bd534bdee1.tar.gz
misc/bash: completion file for bash
suggested by Alex Ray <ajray@ncsu.edu> R=gri CC=golang-dev http://codereview.appspot.com/174063
-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..711020ac9
--- /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