shell-integration-features config is ignored on manual shell integration #5043
-
|
I am sourcing the shell integration script manually from my For now, I am working around this by adding some code in the shell_integration_features=(${(s:,:)$(
ghostty +show-config |
sed -n -e 's/^shell-integration-features = //p'
)})
if (( shell_integration_features[(Ie)no-cursor] )); then
export GHOSTTY_SHELL_INTEGRATION_NO_CURSOR=1
fi
if (( shell_integration_features[(Ie)no-sudo] )); then
export GHOSTTY_SHELL_INTEGRATION_NO_SUDO=1
fi
if (( shell_integration_features[(Ie)no-title] )); then
export GHOSTTY_SHELL_INTEGRATION_NO_TITLE=1
fi
unset shell_integration_features |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Approved #5046 |
Beta Was this translation helpful? Give feedback.
Approved #5046