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
Raw Normal View History

2018-05-05 14:52:52 +02:00
#!/bin/sh
set -e
2018-07-31 15:16:19 +02:00
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
2018-05-05 14:52:52 +02:00
echo "Setting up powerline"
2018-07-31 15:16:19 +02:00
fc-cache -vf || true
pip3 install --user powerline-status