Skip to content

Commit 8639ce5

Browse files
committed
Set Ghostty TERMINFO on remote host
1 parent 627310e commit 8639ce5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/hf-setup.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@ chmod 600 ~/.ssh/id_ed25519
113113
chmod 644 ~/.ssh/id_ed25519.pub
114114
chmod 600 ~/.ssh/config
115115
116+
# Copy Ghostty TERMINFO from local machine (ignore warnings about older tic versions)
117+
# https://ghostty.org/docs/help/terminfo#copy-ghostty's-terminfo-to-a-remote-machine
118+
echo "Setting up Ghostty TERMINFO..."
119+
infocmp -x xterm-ghostty 2>/dev/null | tic -x - 2>/dev/null
120+
116121
# TODO(gpg): Temporarily remove until fully fixed
117122
# # Set correct permissions for GPG key
118123
# chmod 600 ~/hf-sign-priv.asc

0 commit comments

Comments
 (0)