helm/shell/fasd/install

22 lines
497 B
Plaintext
Raw Normal View History

2016-10-19 07:56:37 -07:00
#!/bin/bash
case "$OSTYPE" in
darwin*)
brew install fasd
;;
linux*)
if [ -f /etc/arch-release ]
then
mkdir -p $HOME/build && cd $HOME/build
git clone https://aur.archlinux.org/fasd.git fasd
cd fasd
makepkg -sri
elif [ -f /etc/debian_version ];
then
sudo add-apt-repository ppa:aacebedo/fasd
sudo apt update
sudo apt install fasd
fi
;;
esac