#!/usr/bin/env bash install_steamtricks () { curl | tar -xvC ~/.steamtricks/ } SHELLNAME=$(echo $SHELL | awk -F '/' '{print $NF}') case "$SHELLNAME" in sh) echo "Shell not supported"; exit 1 ;; bash | zsh | yash) install_steamtricks ;; *) echo "You will need to install this by manually adding it to either your /etc/profile for system-wide installation or to your shell's profile" ;; esac