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.pull/8281/head
parent
f430c03ff3
commit
e8a60a375c
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue