1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-06-03 05:46:03 +02:00
Commit Graph

7618 Commits

Author SHA1 Message Date
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
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
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
Peter Stephenson f4dfca490c 38114: Fix hang using ^Z with command subst.
In subshells started to perform substitutions disable signals
that require interactive handling.
2016-03-09 09:51:14 +00:00
Jun-ichi Takimoto 4b6a79887d unposted: update .gitignore for 38108 2016-03-09 10:28:25 +09:00
Jun-ichi Takimoto db42e7c504 38108: enable to create both zsh_{a4,us}.pdf
Default paper size is taken from LC_PAPER.
Stop to check for pdfetex (obsolete and redundant).
2016-03-08 21:42:21 +09:00
Oliver Kiddle 8c29b34032 38043: allow any completion widget to cycle matches for menu completion to fix reverse menu completion 2016-03-07 13:15:40 +01:00
Peter Stephenson 28c46c1bfb 38111: Remove redundant return values in parsing.
Return values from par_list() and par_list1() are no longer used.
2016-03-07 10:49:35 +00:00
Peter Stephenson dc2397f754 users/21352: ensure $'' doesn't get elided.
Assign nulstring to it if empty.  Test for all forms of quotation
marks.
2016-03-07 09:44:54 +00:00
Peter Stephenson 17fb014dc7 38094: Fix POSIX EXIT traps defined in function.
These aren't local, so set the local level to 0; else they can get
overridden incorrectly.
2016-03-07 09:42:21 +00:00
Barton E. Schaefer bc958ab275 38106: if...then if...else should be a parse error. 2016-03-06 15:10:27 -08:00
Greg Klanderman 440c6beec0 38086: shuffle init code to localize a global, add $ZSH_ARGZERO, refine $ZSH_SCRIPT
(also a couple of ChangeLog typos corrected -- Bart)
2016-03-06 09:53:40 -08:00
Baruch Siach 77e55b1ea3 38084: Use previously located pcre-config for libs 2016-03-04 12:02:18 +00:00
Barton E. Schaefer 564fb25e82 38048: fix "zle redisplay" when called while a listing is below the prompt 2016-03-03 13:03:40 -08:00
Barton E. Schaefer 6756870a92 38039: POSIXy behavior for "set +o" 2016-03-03 13:01:08 -08:00