1
0
mirror of https://github.com/Morantron/tmux-fingers.git synced 2024-06-30 08:01:00 +02:00
tmux-fingers/test/provisioning/ubuntu.sh
2018-03-11 20:14:36 +01:00

20 lines
473 B
Bash

#!/bin/sh
sudo aptitude update
sudo aptitude install -y fish gawk
useradd -m -p "$(perl -e "print crypt('fishman','sa');")" -s "/usr/bin/fish" fishman
wget https://github.com/tmux/tmux/releases/download/2.6/tmux-2.6.tar.gz
# install tmux from source
sudo aptitude remove -y tmux
sudo aptitude install -y libevent-dev libncurses5-dev
tar xvzf tmux-2.6.tar.gz
cd tmux-2.6/ || echo "Could not find tmux-2.6/ folder" || exit 1
./configure
make
make install
cd - || exit 1