From 3776c7286e833a6e77db93979c7c1fd01ec8d5fd Mon Sep 17 00:00:00 2001 From: Eyal Posener Date: Sat, 13 May 2017 11:03:22 +0300 Subject: cmd/install: add support for zsh Fixes: #9 --- readme.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'readme.md') diff --git a/readme.md b/readme.md index c507cda..c4fe3e5 100644 --- a/readme.md +++ b/readme.md @@ -36,6 +36,13 @@ Uninstall by `gocomplete -uninstall` - Complete packages names or `.go` files when necessary. - Complete test names after `-run` flag. +## complete package + +Supported shells: + +[x] bash +[x] zsh + ## Usage Assuming you have program called `run` and you want to have bash completion -- cgit v1.2.3 From 87f385425a98490ad44c01e33d16e6a4324696f0 Mon Sep 17 00:00:00 2001 From: Eyal Posener Date: Sat, 13 May 2017 11:08:03 +0300 Subject: readme: change headers --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'readme.md') diff --git a/readme.md b/readme.md index c4fe3e5..9736912 100644 --- a/readme.md +++ b/readme.md @@ -43,7 +43,7 @@ Supported shells: [x] bash [x] zsh -## Usage +### Usage Assuming you have program called `run` and you want to have bash completion for it, meaning, if you type `run` then space, then press the `Tab` key, @@ -102,7 +102,7 @@ func main() { } ``` -## Self completing program +### Self completing program In case that the program that we want to complete is written in go we can make it self completing. Here is an [example](./example/self/main.go) -- cgit v1.2.3