dotfiles/dot_tmux/plugins/tmux-current-pane-hostname/scripts/executable_pane_ssh_connected.sh
2023-11-13 13:48:17 +01:00

15 lines
197 B
Bash

#!/usr/bin/env bash
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $CURRENT_DIR/shared.sh
main() {
if ssh_connected; then
echo 1
else
echo 0
fi
}
main