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
Eyal Posener
2100d1b06c
Merge pull request #47 from dadgar/f-hide-flags
...
Allow restricting completion of flags
2017-08-25 09:44:15 +03:00
Eyal Posener
91e5b1f44a
lint: fix typo
2017-08-25 09:41:42 +03:00
Alex Dadgar
2b9ace50d6
Fix tests from rebase
2017-08-24 17:37:26 -07:00
Alex Dadgar
97340ccc21
Default to hiding flags that start with hyphen unless last arg has a hyphen
2017-08-24 17:35:36 -07:00
Alex Dadgar
59e6151c5b
Allow restricting completion of flags
...
This PR allows a command to specify that flags should only be completed
when a prefix is present. The motivation behind this is to have the
initial complation to prefer displaying argument completions and only
display flag completions when the user enters "hyphen <tab>".
2017-08-24 17:35:36 -07:00
Eyal Posener
5075f6d6e6
Merge pull request #48 from dadgar/b-shared-prefix
...
Fix a subcommand matching
2017-08-24 23:05:41 +03:00
Alex Dadgar
1c43d25e35
Avoid unnecessary if statement
2017-08-24 11:08:51 -07:00
Alex Dadgar
d3c10410d6
Fix a subcommand matching
...
This PR fixes an issue where a subcommand matches the current set of
commands being examined. Fixes issue
https://github.com/posener/complete/issues/46
2017-08-23 13:58:31 -07:00
Eyal Posener
f4461a52b6
Merge pull request #45 from Deleplace/default-gopath
...
Handle default gopath $HOME/go when env var $GOPATH is not set.
2017-07-30 22:30:24 +03:00
Deleplace
4bd1bbca4a
Handle default gopath $HOME/go when env var $GOPATH is not set.
2017-07-30 19:41:18 +02:00
Eyal Posener
c111db7af1
Merge pull request #44 from posener/package
...
gocomplete: Add support for system GOPATH packages
2017-07-28 15:20:25 +03:00
Eyal Posener
a67bb12457
gocomplete: Add support for system GOPATH packages
...
fixes #41
2017-07-28 15:01:07 +03:00
Eyal Posener
e8d6fef54b
Merge pull request #40 from posener/tool
...
gocomplete: add go tool subcommands
2017-05-27 20:24:47 +03:00
Eyal Posener
97eda09fcb
gocomplete: add go tool subcommands
...
Fixes #39
2017-05-27 20:21:50 +03:00
Eyal Posener
8a418a6ab0
Merge pull request #38 from josharian/fix-installer
...
Fix installer
2017-05-23 19:33:44 +03:00
Josh Bleecher Snyder
b74be9ff54
add .bash_profile as a bash rc file
...
This is common on macs.
2017-05-23 08:04:21 -07:00
Josh Bleecher Snyder
e3c14b831e
check whether rc file exists during installation
2017-05-23 08:03:54 -07:00
Josh Bleecher Snyder
de4cdce279
correctly report installation failures
...
Prior to this, installations failed silently.
2017-05-23 07:43:32 -07:00
Eyal Posener
3e6cff0740
Merge pull request #37 from posener/fixes
...
Fixes
2017-05-23 07:45:28 +03:00
Eyal Posener
17b9aed67c
readme: fix example
2017-05-23 07:39:54 +03:00
Eyal Posener
3636c19b38
Fix example/self
...
Fixes #34
2017-05-23 07:33:38 +03:00
Eyal Posener
1a4c871bd8
Fix installation
...
Fixes #36
2017-05-23 07:33:14 +03:00
Eyal Posener
bae3fd94da
Merge pull request #35 from lucapette/patch-1
...
Fix typo
2017-05-22 17:32:01 +03:00