mirror of
https://github.com/Theodor-Springmann-Stiftung/server-package.git
synced 2025-10-29 09:15:32 +00:00
13 lines
248 B
Bash
13 lines
248 B
Bash
#!/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 <ssh-server>"
|
|
exit 1
|
|
fi
|
|
|
|
SSH_SERVER="$1"
|
|
|
|
infocmp -x xterm-ghostty | ssh "$SSH_SERVER" -- tic -x -
|