Commit 815a6785 authored by Scott Lawrence's avatar Scott Lawrence Committed by Russ Cox

misc: add zsh completion (using compctl)

R=golang-dev, rsc1, rsc
CC=golang-dev
https://golang.org/cl/2061042
parent 724b66fb
# install in /etc/zsh/zshrc or your personal .zshrc
# gc
prefixes=(5 6 8)
for p in $prefixes; do
compctl -g "*.${p}" ${p}l
compctl -g "*.go" ${p}g
done
# standard go tools
compctl -g "*.go" gofmt
# gccgo
compctl -g "*.go" gccgo
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment