summaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authorEyal Posener <[email protected]>2017-05-13 11:10:46 +0300
committerGitHub <[email protected]>2017-05-13 11:10:46 +0300
commit758253551ecf81fc5fb107ef8bdad2745d3525fb (patch)
tree49ef787eeb6071d84adb7c8f35051d474351f11f /readme.md
parentcc2d0e6974a8644191666e9e1e466b06c8bd6cde (diff)
parent87f385425a98490ad44c01e33d16e6a4324696f0 (diff)
Merge pull request #18 from posener/zsh
zsh support
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md11
1 files changed, 9 insertions, 2 deletions
diff --git a/readme.md b/readme.md
index c507cda..9736912 100644
--- a/readme.md
+++ b/readme.md
@@ -36,7 +36,14 @@ Uninstall by `gocomplete -uninstall`
- Complete packages names or `.go` files when necessary.
- Complete test names after `-run` flag.
-## Usage
+## complete package
+
+Supported shells:
+
+[x] bash
+[x] zsh
+
+### 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,
@@ -95,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)