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
Daniel Shahaf
ce4c9eafc4
38181: _git reflog: Complete '@{N}' instead of 'HEAD@{N}'.
...
The «HEAD@{...}» syntax is no longer completed, since it's not easily possible
to support both syntaxes (workers/34768).
2016-03-21 16:12:13 +00:00
Daniel Shahaf
67136df0bf
38180: _git: Improve reflog completion.
...
Currently, only used by «git reflog delete <TAB>».
2016-03-21 16:12:10 +00:00
m0viefreak
cbc44bd64a
38145: ZLE parameters for isearch and completion suffixes
2016-03-21 09:43:29 +00:00
Mikael Magnusson
ee2f0dbed1
38187: _adb: Just check current dir instead of recursively
...
Thanks to LambdaComplex in IRC for help with troubleshooting.
2016-03-19 19:08:11 +01:00
Mikael Magnusson
7ad041c9e9
38186: _adb: fix remote file completion + various fixes
2016-03-19 13:41:27 +01:00
Daniel Shahaf
43e595712c
unposted: Document run-help-* helper functions.
2016-03-18 21:22:59 +00:00
Mikael Magnusson
bc0c3caf60
38179: _adb: Fix completion by mostly reverting 35531
2016-03-18 17:23:37 +01:00
Frank Terbeck
5deb57714f
38161: _tmux: Use a colon to terminate options to _arguments itself
...
In users/21384 it was reported that
% tmux new-session -<tab>
...does not offer -A as a candidate for completion even though the
option is listed in the involved helper function _tmux-new-session().
-A is actually an option the _arguments function uses itself. The
documentation states:
To avoid ambiguity, all options to _arguments itself may
be separated from the spec forms by a single colon.
This commit changes each _arguments call to include the optional
colon, so problems like this are prevented now and hopefully in
the future.
2016-03-16 00:38:37 +01:00
Daniel Shahaf
bd06982b23
38155: docs: compsys: Clarify documentation of the 'filter' style.
2016-03-15 00:12:04 +00:00
m0viefreak
a1f45b3346
38151: _git: fix tag name of remote branches
2016-03-15 00:07:18 +00:00
m0viefreak
666a7f5845
38148: _git: reflog: complete references next to commands
...
'git reflog show' is the default subcommand, so
git reflog <tab>
should complete subcommands and references.
2016-03-15 00:07:15 +00:00
Daniel Shahaf
c82ce14950
38135: internal: bin_compadd: Add a few comments.
2016-03-11 22:19:09 +00:00
Daniel Shahaf
527badc237
38129: _git: Fix __git_ignore_line's treatment of shell and pattern metacaracters.
...
Builds upon a patch by Jun T.
Also upgrade/fix __git_pattern_escape.
2016-03-11 22:19:04 +00:00
Daniel Shahaf
98fcdb0861
38128: _git: Fix completion of diffs against the index when treeish isn't shell-safe
...
This affects 'git diff --cached -- <TAB>' and 'git reset $treeish <TAB>'.
2016-03-10 23:18:36 +00:00
Daniel Shahaf
be41c522f2
38123 (after 38074): _git reset $treeish: complete only staged files
2016-03-10 23:18:15 +00:00
Daniel Shahaf
3d9479274e
unposted: ChangeLog: credit Martijn Dekker for workers/38039 (POSIXy 'set +o')
2016-03-09 23:32:01 +00:00
Daniel Shahaf
33bd9136d6
38120: _git: Document the internal helper function __git_ignore_line.
2016-03-09 14:08:49 +00:00