#!/bin/bash # This is used to export the terminfo entry from the host and import it on the remote machine if [ -z "$1" ]; then echo "Usage: $0 " exit 1 fi SSH_SERVER="$1" infocmp -x xterm-ghostty | ssh "$SSH_SERVER" -- tic -x -