From 3dbbf493f070595a6a64afa643f88d49c1fcecea Mon Sep 17 00:00:00 2001 From: simon987 Date: Thu, 6 May 2021 14:20:07 -0400 Subject: [PATCH] automatic installation --- README.md | 4 ++++ install.sh | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 README.md create mode 100755 install.sh diff --git a/README.md b/README.md new file mode 100644 index 0000000..201b68e --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ + +```bash +git clone https://github.com/simon987/tmux-config /tmp/tmux-conf/ && /tmp/tmux-conf/install.sh +``` diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..0cf9ff0 --- /dev/null +++ b/install.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +script_path=`dirname $(realpath $0)` + +# Install files +rm ~/.tmux.conf +cp ${script_path}/.tmux.conf ~/ + +# Restart +tmux kill-server + +echo "Installed tmux config"