diff options
| author | Jon Parise <jon@indelible.org> | 2025-08-19 10:36:26 -0400 |
|---|---|---|
| committer | Jon Parise <jon@indelible.org> | 2025-08-19 10:36:26 -0400 |
| commit | e8a60a375c2902caa4727aafa3cc61345f4085a3 (patch) | |
| tree | f67f6829c7841200dae48e3d69d62e930fc0c709 /src/shell-integration | |
| parent | f430c03ff3e094fd917f10a955160884579aa143 (diff) | |
zsh: unset _ghostty_file in the early exit path
If we're running a too-old version of zsh, we exit early. This skipped
the _ghostty_file cleanup path below.
Diffstat (limited to 'src/shell-integration')
| -rw-r--r-- | src/shell-integration/zsh/.zshenv | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shell-integration/zsh/.zshenv b/src/shell-integration/zsh/.zshenv index 7fbfad659..3941e0c30 100644 --- a/src/shell-integration/zsh/.zshenv +++ b/src/shell-integration/zsh/.zshenv @@ -45,6 +45,7 @@ fi 'builtin' 'autoload' '--' 'is-at-least' 'is-at-least' "5.1" || { builtin echo "ZSH ${ZSH_VERSION} is too old for ghostty shell integration" > /dev/stderr + 'builtin' 'unset' '_ghostty_file' return } # ${(%):-%x} is the path to the current file. |
