This repository has been archived on 2021-04-06. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/home/bin/setup-home.sh

30 lines
586 B
Bash
Executable file

#!/bin/sh
set -e
if [ -e /etc/alpine-release ]; then
distro="alpine"
fi
echo "Installing basic packages"
case $distro in
"alpine")
sudo apk update
sudo apk add \
bash \
coreutils \
git \
less \
python3 \
rxvt-unicode-terminfo \
tmux \
vim \
zsh \
zsh-vcs
;;
*)
echo "unknown distribution “${distro}"
exit 1
;;
esac
echo "Setting up powerline"
fc-cache -vf || true
pip3 install --user powerline-status