Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 49897: Eliminate reliance on $jobstates parameter, fix -P exit status check. | Bart Schaefer | 2022-03-28 | 1 | -17/+20 |
| | |||||
* | promptinit: only exclude current theme from preview if no arguments are given | Mikael Magnusson | 2022-03-08 | 1 | -3/+2 |
| | |||||
* | 49728: vcs_info hg mq: Don't include applied patches in the unapplied patches | Daniel Shahaf | 2022-02-20 | 1 | -0/+3 |
| | | | | | | For instance, with 4 applied patches, 5 unapplied patches, and no guards involved, the patch-format style would indicate 9 (= 4+5) unapplied patches and 4 applied patches. | ||||
* | 49727 (+ comment): vcs_info quilt: Pass the patches dir path to the ↵ | Daniel Shahaf | 2022-02-20 | 4 | -4/+15 |
| | | | | | | gen-applied-string, gen-unapplied-string, and set-patch-format hooks I use that in my gen-applied-string hook. | ||||
* | unposted: vcs_info hg mg (with get-unapplied set): Stop leaking a variable ↵ | Daniel Shahaf | 2022-02-20 | 1 | -1/+1 |
| | | | | to global scope | ||||
* | security/82: VCS_Info: Fix typo in hook_com[base-name_orig] assignment | Marc Cornellà | 2022-02-12 | 1 | -1/+1 |
| | | | | | | Tweaked per discussion in security/90, security/91 (cherry picked from commit b34d33e3b3c5ae30e8315111f07634c1e7507531) | ||||
* | unposted: vcs_info git: Teach the rebase-apply test case generator to also ↵ | Daniel Shahaf | 2022-01-29 | 2 | -1/+12 |
| | | | | generate rebase-merge test cases | ||||
* | unposted: vcs_info git: Add a missing guard against redefining a function. | Daniel Shahaf | 2022-01-29 | 1 | -0/+1 |
| | |||||
* | unposted: vcs_info git: Deconfuse $EDITOR | Daniel Shahaf | 2022-01-29 | 1 | -2/+2 |
| | | | | Work around <https://github.com/chrisbra/vim-zsh/issues/39>. | ||||
* | unposted: vcs_info: Add Vim modelines | Daniel Shahaf | 2022-01-29 | 3 | -0/+6 |
| | | | | ... for consistency with all other vcs_info function files. | ||||
* | 49723: vcs_info quilt: Use quilt-patch-dir and ${QUILT_PATCHES} even when ↵ | Daniel Shahaf | 2022-01-29 | 1 | -21/+24 |
| | | | | | | | | | | | | get-unapplied hasn't been set This affects the post-quilt hook. Before this patch, if no patches have been applied and get-unapplied hasn't been set, the second argument to that hook would undergo null elision. The generation of patch subjects for the gen-applied-string, gen-unapplied-string, and set-patch-format hooks was unaffected since it was guarded by [[ -n $patches ]]. | ||||
* | 49722: vcs_info quilt: Refactor for readability. No functional change. | Daniel Shahaf | 2022-01-29 | 1 | -6/+7 |
| | |||||
* | unposted: vcs_info quilt: Remove a no-op variable assignment | Daniel Shahaf | 2022-01-27 | 1 | -1/+0 |
| | |||||
* | 49709: vcs_info hg: Keep $HGPLAIN set for hooks if it had been set outside ↵ | Daniel Shahaf | 2022-01-25 | 1 | -1/+0 |
| | | | | | | | vcs_info If someone does 'HGPLAIN=1 vcs_info', any vcs_info hooks should be called with HGPLAIN set. Declaring it 'local' broke that. | ||||
* | 49667: Include US spelling of "grey" ("gray") | Matt Alexander | 2022-01-01 | 1 | -3/+5 |
| | | | | Co-authored-by: Daniel Shahaf <d.s@daniel.shahaf.name> | ||||
* | github #82: Fix typos | Dimitris Apostolou | 2021-11-12 | 3 | -3/+3 |
| | |||||
* | 45180: clarify doc for POSIX EREs, fix an issue with PCRE when the ↵ | Stephane Chazelas | 2021-09-06 | 2 | -31/+86 |
| | | | | replacement was empty or generated more than one element | ||||
* | 49218: run-help filters cmd_args before calling run-help-<command> | Marlon Richert | 2021-09-06 | 7 | -26/+13 |
| | |||||
* | 48942: Let EDITOR invoked by edit-command-line know it's a zsh script | Akinori MUSHA | 2021-06-03 | 1 | -0/+1 |
| | |||||
* | 48601/0005: zmathfuncdef: Fix the workers/48147 return status / 'set -e' bug. | Daniel Shahaf | 2021-05-18 | 1 | -1/+1 |
| | | | | Not tested. | ||||
* | 48853: improved handling of theme resets when changing prompt themes, ↵ | Marlon Richert | 2021-05-16 | 1 | -94/+71 |
| | | | | especially for theme preview | ||||
* | 48710: histed + other zed updates | Bart Schaefer | 2021-05-15 | 1 | -13/+49 |
| | |||||
* | 48707: fix keymap handling when zed invokes read-from-minibuffer; update doc | Bart Schaefer | 2021-05-15 | 1 | -5/+22 |
| | |||||
* | 48606 + 48607 + unposted test: zmathfunc: Force arguments to be numbers and ↵ | Daniel Shahaf | 2021-04-21 | 1 | -3/+13 |
| | | | | catch errors. | ||||
* | users/26635 (tweaked): vcs_info hg: Compute the branch name correctly when ↵ | Daniel Shahaf | 2021-04-21 | 1 | -3/+3 |
| | | | | | | | | get-revision is set and check-for-changes is not Tweak: Simplify an always-true condition. Review-by: Manuel Jacob | ||||
* | 47489: rename standout as italic | Bart Schaefer | 2021-04-19 | 1 | -1/+2 |
| | |||||
* | 47561 (the git and cvs parts) (compare 44919 + 44920): vcs_info internals: ↵ | Aleksandr Mezin | 2021-03-29 | 4 | -13/+18 |
| | | | | | | | cvs, git: Set ${vcs_comm[basedir]} like all other backends do. That doesn't affect anything, not even other vcs_info internals; it's just for consistency across backends. | ||||
* | 48147/0002: zmathfunc: Fix bug where the exit code would be non-zero if the ↵ | Daniel Shahaf | 2021-03-07 | 1 | -2/+8 |
| | | | | expression evaluted to zero. | ||||
* | 48094: apply cleanup commands of the current theme on any theme change | Arseny Maslennikov | 2021-02-22 | 2 | -19/+36 |
| | | | | | | | | | | | | | * Rename zstyle `cleanup' on the context `:prompt-theme' to `restore' everywhere but in prompt_cleanup(). It is only used as a restore mechanism now. * Ensure prompt_cleanup() continues to store its command list in the `cleanup' style. * Clean up before theme switch at the end of set_prompt(). * Prepend every use of prompt_*_setup (which might modify the shell state in ways that require cleanup) with a cleanup run. * Adjust `prompt restore' to do both parts of the newly split restore mechanism, cleanup first. | ||||
* | 47867: Fix RPROMPT typo in prompinit | Arseny Maslennikov | 2021-02-19 | 1 | -2/+2 |
| | |||||
* | 47873: Improve completion within dynamic directory names | Peter Stephenson | 2021-01-27 | 1 | -1/+3 |
| | |||||
* | users/26406: preserve caller setopts in zargs | Bart Schaefer | 2021-01-23 | 1 | -2/+15 |
| | |||||
* | 47731 (+unposted): add run-help assistant for btrfs | Jun-ichi Takimoto | 2020-12-11 | 1 | -0/+22 |
| | | | | also fix format errors in contrib.yo | ||||
* | 43946: call run-help for the command given to sudo | Samir Benmendil | 2020-12-11 | 1 | -1/+1 |
| | |||||
* | 47307: edit-command-line: restrict editing to region if it is active | Mikael Magnusson | 2020-08-16 | 1 | -7/+29 |
| | |||||
* | 47306: edit-command-line: add editor style | Mikael Magnusson | 2020-08-16 | 1 | -2/+6 |
| | |||||
* | 47305: edit-command-line: when possible, set $BUFFER directly | Mikael Magnusson | 2020-08-16 | 1 | -4/+23 |
| | | | | | | This avoids the send-break which is both visually unappealing and might break some use cases where the user wishes to wrap edit-command-line in another widget. | ||||
* | 47303: vcs_info hg: Fix changing the expansion of %g (hook_com[guards]) in ↵ | Daniel Shahaf | 2020-08-09 | 2 | -4/+10 |
| | | | | | | | | | | | | | | | | | | the set-patch-format hook (regression from workers/40480). To reproduce, go to a hg repository with active mq guards and configure vcs_info as follows: zstyle '*' get-unapplied true zstyle ':vcs_info:*set-patch-format*' hooks f zstyle '*' patch-format '[%g : %G]' zstyle '*' nopatch-format '[%g : %G]' zstyle '*' formats '%m' +vi-f () { hook_com[guards]+=XXX } The regression was first released in 5.3.1-test-2, over three years ago. | ||||
* | 46072 + 46136: Add the 'zle $widget -f nolast' syntax, to improve ↵ | Daniel Shahaf | 2020-06-27 | 1 | -2/+2 |
| | | | | | | add-zle-hook-widget support for multiple hook functions. See workers/46004 for the use-case. | ||||
* | 46091: Add code to Mercurial VCS backend to show topic if there is any. | Manuel Jacob | 2020-06-22 | 1 | -1/+10 |
| | | | | | | | | "Topics" is an experimental concept in Mercurial that augments the current branching concept (called "named branches"). For more information, see the not always up-to-date Mercurial Wiki page https://www.mercurial-scm.org/wiki/TopicPlan. | ||||
* | 45644: vcs_info git: Fix current patch's name in several cases. | Daniel Shahaf | 2020-03-28 | 1 | -0/+15 |
| | |||||
* | 45627: vcs_info git: Under git-am(1) conflicts, pass to the ↵ | Daniel Shahaf | 2020-03-27 | 1 | -3/+11 |
| | | | | | | | | | | | | | | | | | | gen-applied-string hook information on already-applied patches. The hook already receives information about the current (topmost applied) patch and, if the get-unapplied style is set, about future (unapplied) patches. Tested in the Functions/VCS_Info/test-repo-git-rebase-apply scenario, after manually converting the rebase to a «git am». (Specifically, I ran: mkdir d git rebase --abort git format-patch rebase_from_this..HEAD -o d git checkout rebase_onto_this git am d/* .) | ||||
* | 45625: vcs_info svn: Detect the "working copy format is too new" error. | Daniel Shahaf | 2020-03-27 | 1 | -1/+9 |
| | |||||
* | 45626: vcs_info: Deduplicate calling the set-branch-format hook. | Daniel Shahaf | 2020-03-27 | 6 | -33/+31 |
| | |||||
* | 45624: vcs_info: Set $rrn in all backends. | Daniel Shahaf | 2020-03-27 | 3 | -0/+4 |
| | |||||
* | 45541: internal: vcs_info git: Add a test case repository for rebase-apply ↵ | Daniel Shahaf | 2020-03-15 | 1 | -0/+49 |
| | | | | situations | ||||
* | 45539: vcs_info git: In non-interactive rebases, obtain applied patches' names. | Daniel Shahaf | 2020-03-15 | 1 | -5/+17 |
| | |||||
* | 45540: vcs_info git: In non-interactive rebases, compute patch names for ↵ | Daniel Shahaf | 2020-03-15 | 1 | -6/+25 |
| | | | | unapplied patches. | ||||
* | 45543: vcs_info quilt: Allow quiltcommand to be a function. | Daniel Shahaf | 2020-03-15 | 1 | -2/+3 |
| | | | | Before this commit, it could only be an external command. | ||||
* | 45547: vcs_info git: In interactive rebases, process gen-unapplied-string ↵ | Daniel Shahaf | 2020-03-15 | 1 | -7/+16 |
| | | | | | | | arguments like gen-applied-string arguments are processed. I consider this a bugfix, since it's unexpected for -applied and -unapplied to differ about this. |