Commit graph

11 commits

Author SHA1 Message Date
Mahesh Subramanian
a4f13aec98 fix(z): prevent stack overflow from recursive Tab binding on re-source
The ZLE widget added in #13710 saves the current Tab binding and
delegates to it. If the plugin is sourced more than once, the saved
binding points to the widget itself, causing infinite recursion and
"maximum nested function level reached" errors on any Tab press.

Guard against self-reference by only capturing the binding on first
load and falling back to expand-or-complete if the saved value is
our own widget.

Fixes #13714

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-27 12:53:33 -07:00
ohmyzsh[bot]
d50115afd6
chore(z): update to version ae10ba3f (#13710)
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
2026-04-27 09:20:10 +02:00
ohmyzsh[bot]
3f8ea81b89
feat(z): update to cf9225fe (#13115)
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
2025-05-11 11:06:03 +02:00
ohmyzsh[bot]
048e166c9e
feat(z): update to dd94ef04 (#12862)
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
2024-12-22 11:46:24 +01:00
ohmyzsh[bot]
667fdbf774
feat(z): update to version afaf2965 (#12136)
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
2023-12-28 22:05:37 +01:00
Bas Nijholt
2e7a247cab
feat(z): update to latest upstream version
Mirror of 6bfe418332
Closes #11652

Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-04-28 09:07:43 +02:00
Carlo
7e3231b846
feat(z): replace rupa/z with agkozak/zsh-z (#11236) 2022-10-18 19:10:55 +02:00
Marc Cornellà
c06197ad95
chore: fix comment bulk replace 2021-12-28 14:34:09 +01:00
Curtis Rueden
2d32e9be66
refactor: handle $0 according to the Zsh plugin standard (#10518)
For details and rationale, see:
https://zdharma-continuum.github.io/Zsh-100-Commits-Club/Zsh-Plugin-Standard.html

Closes #10518
2021-12-28 12:29:24 +01:00
Andrew Janke
2205aa42aa z plugin: fix loading from custom location
The old implementation would attempt to load both the default and custom
implementations, with the custom one coming first, so it would get clobbered
by the default version.
2015-11-27 17:12:09 +01:00
Marko Bauhardt
e4fb94306a ohmyzsh plugin of the z project: https://github.com/rupa/z 2013-04-03 20:20:57 +02:00