helm/shell/fasd/install

17 lines
379 B
Bash
Executable file

#!/bin/bash
case "$OSTYPE" in
darwin*)
brew install fasd
;;
linux*)
if [[ -f /etc/arch-release ]]; then
pacaur --needed --noconfirm -S fasd
elif [[ -f /etc/debian_version ]]; then
sudo add-apt-repository ppa:aacebedo/fasd
sudo apt update
sudo apt install -y fasd
fi
;;
esac