]> Cypherpunks repositories - gostls13.git/commitdiff
misc/bash: completion file for bash
authorRuss Cox <rsc@golang.org>
Fri, 11 Dec 2009 21:54:00 +0000 (13:54 -0800)
committerRuss Cox <rsc@golang.org>
Fri, 11 Dec 2009 21:54:00 +0000 (13:54 -0800)
suggested by Alex Ray <ajray@ncsu.edu>

R=gri
CC=golang-dev
https://golang.org/cl/174063

misc/bash/go [new file with mode: 0644]

diff --git a/misc/bash/go b/misc/bash/go
new file mode 100644 (file)
index 0000000..711020a
--- /dev/null
@@ -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