1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 10:21:46 +02:00
Commit graph

9486 commits

Author SHA1 Message Date
Frank Terbeck
05e37bd994 38420: _baudrates: Make style lookups fit better with the rest of compsys
To quote Oliver Kiddle:
> The original concept with styles was that style's could have fairly
> generic names because the context allows you to select the detailed
> context. So perhaps consider allowing this to work as, for example:
>   zstyle ':completion:*:*:screen:*:baud-rates' max-value 9600
2016-05-09 03:40:31 +02:00
Frank Terbeck
58d8e46272 38425: _cu: Remove old -d option of _baudrates 2016-05-09 03:40:31 +02:00
Frank Terbeck
6f3fbcc67a 38421: _baudrates: Fit better into the general completion framework
This should work better in concert with other helpers and builtins of
the completion system by accepting arguments that would be handed to
compadd.
2016-05-09 03:40:31 +02:00
Frank Terbeck
795b285ce8 38424: Use _baudrates helper instead of _baudrate 2016-05-09 03:40:31 +02:00
Frank Terbeck
32b5cd9445 38426: _baudrates: Use 2 space indentation
As per the completion-style-guide.
2016-05-09 03:40:31 +02:00
Frank Terbeck
afff99dbb5 38422: _baudrate -> _baudrates
Oliver notes that helper functions usually have plural names by
convention.
2016-05-09 03:40:31 +02:00
Daniel Shahaf
98f670cf43 38401: _deb_packages: New completion for source packages. 2016-05-06 22:30:50 +00:00
Axel Beckert
1bf2ba4f19 unposted: Doc/Zsh/builtins.yo: Fix typo
Found by Debian's lintian tool.
2016-05-06 21:32:11 +02:00
Daniel Shahaf
cbcae36141 38402: Complete 'eatmydata'. 2016-05-04 21:05:35 +00:00
Daniel Shahaf
a6ab968224 38399: _bts: Complete debbugs bug numbers from bts cache. 2016-05-04 20:50:34 +00:00
Russell Currey
058d957ce5 38393: _git: Fix typo in completion of '--minimal'
Signed-off-by: Russell Currey <ruscur@russell.cc>
2016-05-03 11:26:54 +00:00
Barton E. Schaefer
4712b8f4d5 38375 (tweaked per 38384): try harder to detect noatime filesystems. 2016-05-02 17:31:18 -07:00
Frank Terbeck
493c7e0879 38388: Refactor baud rate completion
This adds a new helper function _baudrate and uses it in place of
private solutions in various existing completions.
2016-05-02 00:11:06 +02:00
Daniel Shahaf
bb5c8f16bf unposted: _querybts: Fix positional arguments' description. 2016-05-01 16:25:47 +00:00
Daniel Shahaf
1a2afc6b6d unposted: _compadd: Fix typo. 2016-05-01 16:25:15 +00:00
Daniel Shahaf
fbf2591161 unposted: ChangeLog: Add missed entries. 2016-05-01 16:24:38 +00:00
Peter Stephenson
5b2b94918a unposted: typo in redirect doc 2016-05-01 13:05:08 +01:00
Frank Terbeck
857153c507 38381: Add completion for picocom utility 2016-05-01 04:08:19 +02:00
Daniel Shahaf
276a690a2e _git: Complete fetchy refspecs correctly. 2016-05-01 01:52:29 +00:00
Daniel Shahaf
fe21e49a6d _git: Bifurcate __git_ref_specs.
No functional change, except for completion of 'git bundle' and 'git config
branch.*.merge'; this is a required groundwork for future patches.
2016-05-01 01:52:29 +00:00
Daniel Shahaf
c57d8dfcaa _git: Fix an apparent typo in __git_heads().
I couldn't reproduce different behaviour with and without this patch, although
the called command's output differs.
2016-05-01 01:52:28 +00:00
Daniel Shahaf
3e26848ef4 _git: Offer alternatives properly. 2016-05-01 01:52:28 +00:00
Daniel Shahaf
2979122d2d _git-bundle: Complete required file argument to 'git bundle' correctly. 2016-05-01 01:52:28 +00:00
Barton E. Schaefer
9afb67eb65 unposted: silence spurious compiler warning 2016-04-29 13:15:33 -07:00
Barton E. Schaefer
59de766e26 38358: "fgrep --" for noatime check in case a mount point is named "-" 2016-04-29 13:14:10 -07:00
Sebastian Gniazdowski
fea013b8e8 38356: allow integers as curses colours 2016-04-29 14:01:06 +01:00
Sebastian Gniazdowski
7fc0c2d57d 39354: zcurses fix for colour management
Alter internal return 	code so as not to mask curses error code.
2016-04-29 10:17:44 +01:00
Barton E. Schaefer
5ee05cf935 38350 (cf. Glenn Smith: 38348): Remove-all warning should warn about the root directory as well 2016-04-26 10:40:56 -07:00
Daniel Shahaf
442d702bbc 38316: _git-rebase: Complete any committish for the second argument 2016-04-23 21:28:21 +00:00
m0viefreak
f06be0ffcf 38291: Change names of ISEARCH_* parameters to ISEARCHMATCH_* 2016-04-23 21:28:20 +00:00
Barton E. Schaefer
222dea055c Mikael Berthe: 38307: PCRE segfault when parenthesized group matches nothing
unposted: regression test for 38307
2016-04-23 14:20:16 -07:00
Barton E. Schaefer
e1c745a0dc 38306: in printf formats, treat a missing precision as zero rather than as unlimited 2016-04-22 10:12:17 -07:00
Barton E. Schaefer
5e71690c19 38289: "builtin enable" in $_comp_setup to avoid accidentally invoking external command of the same name 2016-04-15 21:39:04 -07:00
Han Pingtian
67c0174093 38219: remove redundant left square bracket 2016-04-14 16:46:27 +02:00
Oliver Kiddle
267f945ffe 38287: fix position for the end of a visual selection range for the cursor on an empty last line in the buffer 2016-04-14 15:52:50 +02:00
Oliver Kiddle
c7eead3950 38286: cursor correction following yank-pop is only applicable to vi command mode 2016-04-14 15:52:44 +02:00
Christian Neukirchen
fbe2763411 37847: update du arguments up to GNU du 8.25 2016-04-14 15:52:08 +02:00
m0viefreak
8fe58bf047 m0viefreak: 38264: improve doc for 38145 2016-04-10 11:07:44 -07:00
Barton E. Schaefer
8142fc3fdb For help listing, capture the fallback to compctl in case there is one defined 2016-04-09 08:54:54 -07:00
Daniel Shahaf
4df62e32fc 38255: _git: Fix argument pastedness.
Found by searching for /-\w\>.*:/.

This covers short options only, from the top of file through _git-tag().
2016-04-09 03:35:14 +00:00
Barton E. Schaefer
b911398064 38248: fix word position calculation when completing on or just before a redirection operator
The completion result is still in need of some repair; e.g., if the first
thing on the line is the redirection, completion before it is not taken
to be in command position, and in this and other cases a necessary space
is not inserted between the completed word and the redirection.
2016-04-07 20:24:43 -07:00
Barton E. Schaefer
70fb93b64e 38229: fix cursor placement calculation when completing in empty double quotes 2016-04-05 16:14:55 -07:00
Peter Stephenson
2b7035d974 38241: ungetkeycmd() needs to unmetafy key string.
Use the new function to simplify memory management in prefix handling.

Third time lucky.
2016-04-04 14:54:54 +01:00
Peter Stephenson
caff72941d 38236: Order of redirections is important. 2016-04-04 14:53:11 +01:00
Barton E. Schaefer
1ea94513cc Dmitry Marakasov: 38162: accept G for gigabytes in limit command
from github pull request - some formatting edited
2016-03-26 09:45:47 -07:00
Barton E. Schaefer
21202e7b95 38191: additional re-entrancy checks in reexpandprompt()
Do not free global pointers until after promptexpand() in case they are
referenced from signal handlers, and check for window size changes during
promptexpand().
2016-03-21 15:46:59 -07:00
Barton E. Schaefer
09e991a20a 38188: signal re-entrancy, maybe
Crams several globals into a struct so they can be saved/restored as one,
and then tries pushing the signal queue management down into patmatch()
from pattryrefs().
2016-03-21 15:46:59 -07:00
Barton E. Schaefer
ef6f1eb1c5 38142: signal re-entrancy, maybe 2016-03-21 15:46:59 -07:00
Peter Stephenson
b81b275ab3 Remove unnecessary file 2016-03-21 19:46:26 +00:00
Daniel Shahaf
9f70404714 38182: _git: Invoke reflog completion from the 'complete commit objects' codepath.
The reflog will only be used if the user has typed as "@" by hand.
2016-03-21 16:12:15 +00:00