Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 52240: use work-var $s not $suffix when setting flags | Sebastian Gniazdowski | 2023-10-26 | 1 | -1/+1 |
| | |||||
* | unposted (cf. 52166): remove obsolete helper for svk | Oliver Kiddle | 2023-10-11 | 1 | -1/+0 |
| | |||||
* | 51812: run-help for docker, perf, podman, ssh, svnadmin | Jörg Sommer | 2023-10-11 | 5 | -0/+26 |
| | |||||
* | 51747: ip accepts the reduction of link to l. | Jörg Sommer | 2023-09-21 | 1 | -1/+1 |
| | |||||
* | 51776: run-help-openssl: Reduce code and use new manpages | Jörg Sommer | 2023-09-21 | 1 | -7/+1 |
| | | | | | | Openssl switches the naming of manpages to the common style openssl-$SUBCOMMAND, e.g. openssl-enc. For backward compatibility try to show the manpage with the old name if the new one doesn't exist. | ||||
* | 52082: Enable linewise edit-command when in visual-line mode. | Christoffer Lundell | 2023-09-16 | 1 | -4/+19 |
| | |||||
* | 52028: improvements to _shadow / _unshadow, plus helper and doc | Bart Schaefer | 2023-08-27 | 1 | -0/+11 |
| | |||||
* | 51813: differentiate empty $2 from omitted $2 in version comparisons | Stephane Chazelas | 2023-06-22 | 1 | -1/+7 |
| | |||||
* | 51593: improve search for command name after skipping prefix assignments | Bart Schaefer | 2023-05-10 | 1 | -3/+3 |
| | | | | | | | This is aimed mostly at use of run-help as a standalone function rather than as a widget. When run-help is invoked outside widget context, there's no source line to search for the original command name, so this attempts searching the arguments. | ||||
* | 51572: fix "shift" error when running standalone | Bart Schaefer | 2023-03-13 | 1 | -3/+3 |
| | |||||
* | 51144, 51146: vcs_info git: stg: Extract patch descriptions | Daniel Shahaf | 2022-12-09 | 1 | -2/+2 |
| | | | | Joint work with Peter Grayson. | ||||
* | 51142: vcs_info git: Check the get-unapplied style as documented | Daniel Shahaf | 2022-12-08 | 1 | -2/+6 |
| | | | | | | | | | | | | The style was treated as "always true" rather than as "settable, false by default" in the rebase-merge and cherry-pick cases. This affects the gen-unapplied-string hook, and may also affect gen-applied-string and set-patch-format hooks if they accessed VCS_INFO_get_data_git's internal parameters directly. If this affects you, just set the style in your zshrc: . zstyle ':vcs_info:git*:*:*' get-unapplied true | ||||
* | 51138: Updated StGit patch detection in vcs_info | Peter Grayson | 2022-12-08 | 1 | -9/+27 |
| | | | | | | | | | | | | | | | | | | | The vcs_info patch detection code attempted to interrogate StGit patch stack state by inspecting .git/patches/applied and .git/patches/unapplied. As of StGit 0.15 (2009), patch stack metadata is captured in the repo's object database. And as of StGit 1.0 (2021), no stack or patch state is maintained in any files in the .git/ directory. Zsh's approach for interrogating StGit patch state is thus obsoleted. This patch updates vcs_info to determine whether StGit is initialized on a branch by looking at the appropriate git refs and uses StGit's prescribed interface for interrogating applied and unapplied patch state via the `stg series` command. This approach will work with all versions of StGit >=0.15. Signed-off-by: Peter Grayson <pete@jpgrayson.net> | ||||
* | 51088: fix standards reference in comment | Atte Peltomäki | 2022-12-06 | 1 | -1/+1 |
| | |||||
* | 50786: Make match etc. local when used in styles. | Peter Stephenson | 2022-10-17 | 1 | -2/+2 |
| | | | | Avoids side effects of add-zle-hook-widget. | ||||
* | 50648: Use $ZCALC_HISTORY where appropriate | Julian Prein | 2022-09-25 | 1 | -1/+3 |
| | |||||
* | 50335: simplify "wait" usage, fix signal handling | Bart Schaefer | 2022-06-08 | 1 | -10/+30 |
| | | | | | | | | | - remove the preliminary "wait" for all the process - remove "nomonitor" (because it was only needed for that "wait") - explicitly adds traps to exit for tty-generated signals plus TERM - capture the signal trap context and restore it in background jobs - wrap in an "always" block to clean up local helper functions - update comments to note another buglet and drop support for zsh 4.x. | ||||
* | 50323: create helper for shadowing builtins or existing functions and use it ↵ | Bart Schaefer | 2022-06-04 | 1 | -1/+2 |
| | | | | when redefining compadd et al. | ||||
* | 50286: avoid zed error if nounset is in effect | Peter Stephenson | 2022-05-26 | 1 | -6/+8 |
| | |||||
* | Jan Brieg: 50212 (and discussion): Add "bright" color variants | Bart Schaefer | 2022-05-14 | 1 | -2/+16 |
| | |||||
* | 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 |
| |