osascript <<EOF
tell application "Ghostty" to activate
tell application "System Events"
keystroke "t" using command down
delay 0.2
keystroke "cd \"${DIR}\" && clear"
keystroke return
end tell
EOF
Tell Ghostty to open new tab in current window.
@hyperknot