zsh: removed unused self_dir variable (#9924)

This came from the original Kitty script on which ours is based, but we
don't use it.
pull/9925/head
Mitchell Hashimoto 2025-12-16 06:38:56 -08:00 committed by GitHub
commit 8ed7cce203
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

View File

@ -93,9 +93,6 @@ _entrypoint() {
_ghostty_deferred_init() {
builtin emulate -L zsh -o no_warn_create_global -o no_aliases
# The directory where ghostty-integration is located: /../shell-integration/zsh.
builtin local self_dir="${functions_source[_ghostty_deferred_init]:A:h}"
# Enable semantic markup with OSC 133.
_ghostty_precmd() {
builtin local -i cmd_status=$?