diff options
| author | Eyal Posener <[email protected]> | 2017-05-13 11:10:46 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-05-13 11:10:46 +0300 |
| commit | 758253551ecf81fc5fb107ef8bdad2745d3525fb (patch) | |
| tree | 49ef787eeb6071d84adb7c8f35051d474351f11f /readme.md | |
| parent | cc2d0e6974a8644191666e9e1e466b06c8bd6cde (diff) | |
| parent | 87f385425a98490ad44c01e33d16e6a4324696f0 (diff) | |
Merge pull request #18 from posener/zsh
zsh support
Diffstat (limited to 'readme.md')
| -rw-r--r-- | readme.md | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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) |
