summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-09Merge pull request #60 from posener/fix-59Eyal Posener
install: create file directory before file is created
2018-03-09install: create file directory before file is createdEyal Posener
Fixes #59
2018-01-19Merge pull request #58 from posener/readmeEyal Posener
update readme
2018-01-19update readmeEyal Posener
Move description to top, and add go command line completion, so it will appear nicer in google search.
2018-01-10Merge pull request #57 from posener/readme-add-fishEyal Posener
readme: add fish
2018-01-10Update readme.mdEyal Posener
2018-01-08Merge pull request #56 from acomagu/fishEyal Posener
Add support for fish
2018-01-08Add support for fishYuki Ito
2017-12-19Merge pull request #55 from costastf/masterEyal Posener
install/bash: add more configuration files
2017-12-19Fixes the issue where if .profile is used and not any of the other files the ↵Costas Tyfoxylos
-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-11-04Merge pull request #54 from posener/split-last-equalEyal Posener
Add logic to complete when last flag uses the equal sign
2017-11-04Merge branch 'master' into split-last-equalEyal Posener
2017-11-04Merge pull request #53 from posener/finally-filter-matchesEyal Posener
Filter matches as a final stage
2017-11-04Add logic to complete when last flag uses the equal signEyal Posener
If the last flag is of the form -flag=value, complete the value according to -flag.
2017-11-04travis: add go1.9, remove tipEyal Posener
2017-11-04Filter matches as a final stageEyal Posener
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-09-08Merge pull request #52 from thomshutt/masterEyal Posener
Fixed grammar
2017-09-08Fixed grammarThom Shutt
2017-08-29Merge pull request #50 from sethvargo/sethvargo/nospaceEyal Posener
Use nospace option for zsh
2017-08-29Use nospace option for zshSeth Vargo
2017-08-25Merge pull request #47 from dadgar/f-hide-flagsEyal Posener
Allow restricting completion of flags
2017-08-25lint: fix typoEyal Posener
2017-08-24Fix tests from rebaseAlex Dadgar
2017-08-24Default to hiding flags that start with hyphen unless last arg has a hyphenAlex Dadgar
2017-08-24Allow restricting completion of flagsAlex Dadgar
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-24Merge pull request #48 from dadgar/b-shared-prefixEyal Posener
Fix a subcommand matching
2017-08-24Avoid unnecessary if statementAlex Dadgar
2017-08-23Fix a subcommand matchingAlex Dadgar
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-07-30Merge pull request #45 from Deleplace/default-gopathEyal Posener
Handle default gopath $HOME/go when env var $GOPATH is not set.
2017-07-30Handle default gopath $HOME/go when env var $GOPATH is not set.Deleplace
2017-07-28Merge pull request #44 from posener/packageEyal Posener
gocomplete: Add support for system GOPATH packages
2017-07-28gocomplete: Add support for system GOPATH packagesEyal Posener
fixes #41
2017-05-27Merge pull request #40 from posener/toolEyal Posener
gocomplete: add go tool subcommands
2017-05-27gocomplete: add go tool subcommandsEyal Posener
Fixes #39
2017-05-23Merge pull request #38 from josharian/fix-installerEyal Posener
Fix installer
2017-05-23add .bash_profile as a bash rc fileJosh Bleecher Snyder
This is common on macs.
2017-05-23check whether rc file exists during installationJosh Bleecher Snyder
2017-05-23correctly report installation failuresJosh Bleecher Snyder
Prior to this, installations failed silently.
2017-05-23Merge pull request #37 from posener/fixesEyal Posener
Fixes
2017-05-23readme: fix exampleEyal Posener
2017-05-23Fix example/selfEyal Posener
Fixes #34
2017-05-23Fix installationEyal Posener
Fixes #36
2017-05-22Merge pull request #35 from lucapette/patch-1Eyal Posener
Fix typo
2017-05-22Fix typolucapette
2017-05-20Merge pull request #33 from posener/licenseEyal Posener
change license to MIT
2017-05-20change license to MITEyal Posener
2017-05-20Merge pull request #32 from posener/flagsEyal Posener
Flags
2017-05-20cmd: remove adding of flags from runEyal Posener
2017-05-20cmd: fix complete flags nameEyal Posener
2017-05-20Merge pull request #31 from posener/improvesEyal Posener
predict files: remove loop