zsh: removed unused self_dir variable

This came from the original Kitty script on which ours is based, but we
don't use it.
pull/9924/head
Jon Parise 2025-12-16 08:24:18 -05:00
parent 1d7fe9e70d
commit c4cd2ca81d
1 changed files with 0 additions and 3 deletions

View File

@ -93,9 +93,6 @@ _entrypoint() {
_ghostty_deferred_init() { _ghostty_deferred_init() {
builtin emulate -L zsh -o no_warn_create_global -o no_aliases 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. # Enable semantic markup with OSC 133.
_ghostty_precmd() { _ghostty_precmd() {
builtin local -i cmd_status=$? builtin local -i cmd_status=$?