#!/usr/bin/env bash cmd="sudo podman exec -e COLUMNS=$(tput cols) systemd-flexget flexget" if [[ "$(hostname)" = "deepthought" ]]; then $cmd "$@" else ssh deepthought $cmd "$@" fi