aboutsummaryrefslogtreecommitdiff
path: root/scripts/check_os.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/check_os.sh')
-rwxr-xr-xscripts/check_os.sh27
1 files changed, 0 insertions, 27 deletions
diff --git a/scripts/check_os.sh b/scripts/check_os.sh
deleted file mode 100755
index 6b654af..0000000
--- a/scripts/check_os.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/env bash
-# vim: set filetype=sh :
-#
-# Author: Cody Hiar
-# Date: 2017-06-09
-#
-# Description:: Check the operatig system of the host and load the os specific
-# options
-#
-# Set options:
-# e: Stop script if command fails
-# u: Stop script if unset variable is referenced
-# x: Debug, print commands as they are executed
-# o pipeline: If any command in a pipeline fails it all fails
-#
-set -euo pipefail
-
-# Main loop of program
-main() {
- if [ "$(uname)" == "Darwin" ]; then
- tmux source-file "$HOME/.tmux/tmux-darwin.config"
- elif [ "$(uname)" == "Linux" ]; then
- tmux source-file "$HOME/.tmux/tmux-linux.config"
- fi
-}
-main
-