2021-04-01 20:32:07 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
|
|
|
# Install packages for a new Arch or Manjaro installation. Requires sudo
|
|
|
|
|
2021-04-02 19:52:43 +00:00
|
|
|
if [[ $EUID > 0 ]]; then
|
2021-04-01 20:32:07 +00:00
|
|
|
echo "requires administrative privileges"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2021-04-02 19:56:36 +00:00
|
|
|
pacman -S --needed --noconfirm base-devel \
|
2021-04-01 20:32:07 +00:00
|
|
|
git \
|
|
|
|
exa \
|
|
|
|
fzf \
|
|
|
|
tmux \
|
2021-04-02 04:07:11 +00:00
|
|
|
ripgrep \
|
|
|
|
bat \
|
2021-04-02 04:28:00 +00:00
|
|
|
docker \
|
|
|
|
docker-compose \
|
2021-04-01 20:32:07 +00:00
|
|
|
ttf-ubuntu-font-family # Ubuntu Mono font for Alacritty
|
|
|
|
|
|
|
|
# https://rustup.rs/
|
2021-04-02 20:02:54 +00:00
|
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
2021-04-02 20:04:52 +00:00
|
|
|
source $HOME/.cargo/env
|
2021-04-01 20:32:07 +00:00
|
|
|
|
|
|
|
# https://github.com/dandavison/delta#installation
|
|
|
|
cargo install git-delta
|