mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
fix: remove resources_dir var, add builtin prefix for consistency
This commit is contained in:
@ -142,7 +142,6 @@ if [[ -n "$GHOSTTY_SSH_INTEGRATION" ]]; then
|
|||||||
|
|
||||||
# Propagate Ghostty shell integration environment variables
|
# Propagate Ghostty shell integration environment variables
|
||||||
[[ -n "$GHOSTTY_SHELL_FEATURES" ]] && env_vars+=("GHOSTTY_SHELL_FEATURES=$GHOSTTY_SHELL_FEATURES")
|
[[ -n "$GHOSTTY_SHELL_FEATURES" ]] && env_vars+=("GHOSTTY_SHELL_FEATURES=$GHOSTTY_SHELL_FEATURES")
|
||||||
[[ -n "$GHOSTTY_RESOURCES_DIR" ]] && env_vars+=("GHOSTTY_RESOURCES_DIR=$GHOSTTY_RESOURCES_DIR")
|
|
||||||
|
|
||||||
# Execute with environment variables if any were set
|
# Execute with environment variables if any were set
|
||||||
if [[ ${#env_vars[@]} -gt 0 ]]; then
|
if [[ ${#env_vars[@]} -gt 0 ]]; then
|
||||||
@ -174,7 +173,7 @@ if [[ -n "$GHOSTTY_SSH_INTEGRATION" ]]; then
|
|||||||
|
|
||||||
# Normal SSH connection with Ghostty terminfo available
|
# Normal SSH connection with Ghostty terminfo available
|
||||||
env "${env_vars[@]}" ssh "$@"
|
env "${env_vars[@]}" ssh "$@"
|
||||||
return 0
|
builtin return 0
|
||||||
else
|
else
|
||||||
echo "Terminfo installation failed. Using basic integration." >&2
|
echo "Terminfo installation failed. Using basic integration." >&2
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user