aboutsummaryrefslogtreecommitdiffstats
path: root/src/_ack
Commit message (Collapse)AuthorAgeFilesLines
* Delete some compdefs that have been included in zsh (thanks @okapia)Julien Nicoulaud2018-11-041-212/+0
| | | | | | | | Command used, on a zsh 5.6.2 installation: for def in src/*; { [[ -n $(find /usr/share/zsh/functions -name ${def:t}) ]] && git rm $def } Closes #607
* Remove license header from compdefs I wrote (switching to the Zsh license)Julien Nicoulaud2017-10-191-25/+0
|
* Updating ack & ag.Jeremy Pallats/starcraft.man2015-06-111-22/+36
| | | | | | | | * Guard both ack & ag from completing if command doesn't exist. * Allow some opts to repeat like ignore. * Update descriptions. * Ack was missing some opts present in base 2.00. * Ag cleanup based on better understanding.
* Correct misspellingsSyohei YOSHIDA2015-06-081-1/+1
|
* (ack) handle ack version string containing commit sha1Zhao Cai2013-05-101-1/+1
|
* Update ack to work with version 2+Zhao Cai2013-04-281-9/+45
|
* Use $ACKRC if set, otherwise use $HOME/.ackrcJ. Brandt Buckley2013-02-201-1/+1
| | | | | | The $ACKRC environmental variable allows a user to specify a path to his or her Ack config file. If not set, Ack looks for a file in the default location (~/.ackrc). This update makes ack completion follow that same behavior.
* Move modelines to end of fileAaron Schrab2012-08-231-3/+8
| | | | | | | | | | | | | | | | | | | | | | Having a vim modeline or emacs local variable line somewhere in the middle of the file isn't really helpful. By default, vim will only check the first and last 5 lines of a file for a modeline (assuming the modeline option is enabled). Emacs is even more strict about the type of local variable line that was in use, it will only check the first line of the file or the second line if the first line specifies a script interpreter (which isn't the case here). Move the vim modeline to the end of the file so that it can actually be found by vim but is out of the way for editing. For emacs more work is required, convert that to the more verbose Local Variables syntax which emacs will look for starting 3000 characters from the end of the file. Also there is no zsh mode for emacs (according to zsh-users/zsh-completions#75), use the "Shell-Script" mode instead. This seems to automatically detect that the files are for zsh. I'm not an emacs user, so I haven't tested that portion much. But, this does at least improve the syntax highlighting there.
* Ack first argument is file if --match usedAaron Schrab2012-08-221-6/+14
| | | | | Complete all non-option arguments as file names if the --match argument is present.
* Ack _arguments call should use -s and -SAaron Schrab2012-08-221-1/+1
| | | | | | | Several single-character options may be specified in a single argument, so -s should be used. "--" specifies that there are no further options, so -S should be used.
* Fix binding options to their arguments for ackAaron Schrab2012-08-221-11/+11
| | | | | Add trailing +, -, and = as appropriate in call to _arguments to specify how arguments to options are handled.
* Ack completion support for --invert-file-matchDaniel Serodio2012-08-141-0/+1
|
* [BREAKING CHANGE] Move compdefs to own directory (to ease packaging andJulien Nicoulaud2012-08-011-0/+173
avoid bloating users fpath with unneeded files such as README.md)