Commit Graph

176 Commits

Author SHA1 Message Date
Eyal Posener a9ccd7c514
Merge pull request #85 from posener/goreadme
readme: Update according to go doc
2019-03-07 22:49:11 +02:00
goreadme b71bab39f4 Update readme according to go doc 2019-03-07 20:42:18 +00:00
Eyal Posener 2503fc844e
Merge pull request #84 from posener/use-goreadme
use goreadme
2019-03-07 22:40:37 +02:00
Eyal Posener d258bec9b1 use goreadme 2019-03-07 06:59:58 +02:00
Eyal Posener 43c37e8a9f
Merge pull request #78 from gechr/gc-fix-fish-completion
Fix fish shell completion
2019-02-08 12:17:02 +02:00
George Christou 1fa456f134
Fix fish shell completion 2019-02-07 21:19:20 +00:00
Eyal Posener 3ef9b31a6a
Merge pull request #75 from posener/fix-slice-bug
Protect line slicing from index out of range
2018-10-26 13:48:32 +03:00
Eyal Posener be2a7ff220 protect line slicing from index out of range 2018-10-25 19:38:01 +03:00
Eyal Posener ffc2cf5e95
Merge pull request #73 from posener/point
Add support for CMP_POINT
2018-10-19 20:18:15 +03:00
Eyal Posener 5fdb1adfd7 Add support for CMP_POINT
Fixes #72
2018-10-19 20:10:37 +03:00
Eyal Posener 0d98d7ee19
Merge pull request #70 from posener/lint
fix lint issues
2018-09-10 11:07:58 +03:00
Eyal Posener 6db5f134c9 fix lint issues 2018-09-10 10:50:47 +03:00
Eyal Posener c43123851d
Merge pull request #69 from posener/golangci
readme: add golangci badge
2018-09-09 17:57:51 +03:00
Eyal Posener 82a1ccda65 readme: add golangci badge 2018-09-09 17:54:58 +03:00
Eyal Posener 217cfb65b2
Merge pull request #68 from posener/go111
Add support for go1.11
2018-09-09 17:48:54 +03:00
Eyal Posener dcfd7da4e1 Disable gometalinter
I will move the repo to golangci.com linter later on
2018-09-09 17:44:11 +03:00
Adam S Levy 8200804f12 refactor(log,cmd/install/fish): Small refactors to pass gometalinter.v2 2018-08-29 09:47:45 -08:00
Adam S Levy 2ef7ee5307 ci(gometalinter): Use gometalinter.v2 over v1 2018-08-29 09:41:37 -08:00
Adam S Levy f8e8106b9d ci(go1.11): Add module support for go 1.11 CI testing 2018-08-29 09:34:52 -08:00
Adam S Levy 7516f04703 feat(help,mod): Add completion for `go help` and `go mod`
Go 1.11 introduces module support which adds a whole new set of
commands. Add those commands for modules and also add the completion for
the help commands and topics.
2018-08-27 11:59:20 -08:00
Adam S Levy 5b53660969 fix(go clean): Added missing flags
Added missing flags go clean -cache -testcache -modcache
2018-08-27 11:57:17 -08:00
Adam S Levy fe498e5eda build(go111): Add go module support 2018-08-27 11:55:41 -08:00
Eyal Posener dcda319936
Merge pull request #65 from AdamSLevy/patch-1
Clarify description of "-y" option
2018-08-23 14:21:02 -07:00
Adam S Levy 752e8dc2ac
Clarify description of "-y" option
Clarify the description of the "-y" option so that it is obvious that the option refers only to installing completion.
2018-08-22 16:40:56 -08:00
Eyal Posener e037c22b2f
Merge pull request #63 from linux4life798/optionsadd
gocomplete - adding go tool link and pack
2018-04-13 12:18:13 +03:00
Craig Hesling 123c7b13bc gocomplete - Attempted to add go tool link 2018-04-10 03:05:43 -04:00
Craig Hesling f6c64f0b99 gocomplete - Attempted to add go tool pack 2018-04-10 02:51:32 -04:00
Eyal Posener 6f14871ed7
Merge pull request #62 from linux4life798/optionsfix
Minor option fix for go tool objdump and asm
2018-04-10 09:43:25 +03:00
Craig Hesling a3195dd708 gocomplete - Added missing -V option for go tool asm 2018-04-10 01:39:19 -04:00
Craig Hesling cb85f6b2a6 gocomplete - Added missing -S option for go tool objdump 2018-04-10 01:39:09 -04:00
Eyal Posener 98eb9847f2
Merge pull request #60 from posener/fix-59
install: create file directory before file is created
2018-03-09 08:24:32 +02:00
Eyal Posener d22b38ff2e install: create file directory before file is created
Fixes #59
2018-03-09 08:18:31 +02:00
Eyal Posener cdc49b7138
Merge pull request #58 from posener/readme
update readme
2018-01-19 11:07:45 +02:00
Eyal Posener afdafeec96
update readme
Move description to top, and add go command line completion, so it will appear nicer in google search.
2018-01-19 10:59:08 +02:00
Eyal Posener 22fe9ceed3
Merge pull request #57 from posener/readme-add-fish
readme: add fish
2018-01-10 22:11:02 +02:00
Eyal Posener 995c54b025
Update readme.md 2018-01-10 02:03:55 +02:00
Eyal Posener 57878c9c03
Merge pull request #56 from acomagu/fish
Add support for fish
2018-01-08 11:26:22 +02:00
Yuki Ito fbb0b60454 Add support for fish 2018-01-08 17:51:45 +09:00
Eyal Posener 6bee943216
Merge pull request #55 from costastf/master
install/bash: add more configuration files
2017-12-19 13:11:28 +02:00
Costas Tyfoxylos 3682ca65e0 Fixes the issue where if .profile is used and not any of the other files the -install-autocomplete fails with :
Error executing CLI: Did not find any shells to install

excerpt from bash man page

    When bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable. The --noprofile option may be used when the shell is started to inhibit this behavior.

    When an interactive shell that is not a login shell is started, bash reads and executes commands from /etc/bash.bashrc and ~/.bashrc, if these files exist. This may be inhibited by using the --norc option. The --rcfile file option will force bash to read and execute commands from file instead of /etc/bash.bashrc and ~/.bashrc.
2017-12-19 11:05:40 +01:00
Eyal Posener dc2bc5a81a
Merge pull request #54 from posener/split-last-equal
Add logic to complete when last flag uses the equal sign
2017-11-04 11:57:02 +02:00
Eyal Posener a1f9ea005b
Merge branch 'master' into split-last-equal 2017-11-04 11:52:49 +02:00
Eyal Posener 00c86494ff
Merge pull request #53 from posener/finally-filter-matches
Filter matches as a final stage
2017-11-04 11:52:09 +02:00
Eyal Posener aae7e1e39f Add logic to complete when last flag uses the equal sign
If the last flag is of the form -flag=value, complete the value according to -flag.
2017-11-04 11:32:33 +02:00
Eyal Posener c45e6fe851 travis: add go1.9, remove tip 2017-11-04 10:57:04 +02:00
Eyal Posener 7ee9623f2b Filter matches as a final stage
This simplifies the prediction logic writing, the predictor
doesn't need to filter our according to line matching, instead
it returns everything and the filtering is done at the end.

This does not break current behavior.
2017-11-04 10:51:40 +02:00
Eyal Posener 88e59760ad Merge pull request #52 from thomshutt/master
Fixed grammar
2017-09-08 15:52:45 +03:00
Thom Shutt a27e787f90 Fixed grammar 2017-09-08 13:40:26 +01:00
Eyal Posener 9f41f7636a Merge pull request #50 from sethvargo/sethvargo/nospace
Use nospace option for zsh
2017-08-29 20:11:12 +03:00
Seth Vargo 0c517573da
Use nospace option for zsh 2017-08-29 12:55:27 -04:00