mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-01 11:12:16 +00:00
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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user