Skip to content

Commit

Permalink
feat(tmux): add
Browse files Browse the repository at this point in the history
  • Loading branch information
Ant0wan committed Oct 25, 2024
1 parent a5ebed7 commit f6156f1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scripts/tmux.sh
Original file line number Diff line number Diff line change
@@ -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."

0 comments on commit f6156f1

Please sign in to comment.