From f6156f1233dfc69e3ac675ee685eff59667ee5cb Mon Sep 17 00:00:00 2001 From: Antoine Barthelemy Date: Fri, 25 Oct 2024 18:25:03 +0200 Subject: [PATCH] feat(tmux): add --- scripts/tmux.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 scripts/tmux.sh diff --git a/scripts/tmux.sh b/scripts/tmux.sh new file mode 100644 index 0000000..5c46415 --- /dev/null +++ b/scripts/tmux.sh @@ -0,0 +1,11 @@ +#!/bin/sh +if [ -f /etc/fedora-release ]; then + sudo yum install tmux +elif [ -f /etc/lsb-release ] || [ -f /etc/os-release ] ; then + sudo apt update + sudo apt install tmux -y -q +else + echo "Unsupported distribution. This script only supports Fedora and Ubuntu." + exit 1 +fi +echo "Tmux has been successfully installed."