Something went wrong. Try again.
Something went wrong. Try again.
222 B · 11 lines
at main
123456789101112#!/bin/bash
set -eu
has_kitty_protocol() { test -z "${TMUX:-}" && test -n "${KITTY_PID:-}"}
if has_kitty_protocol; then kitty +kitten icat --clear --silent --stdin no --transfer-mode file < /dev/null > /dev/ttyfi