Doors/scripts/install_min_fedora

32 lines
581 B
Text
Raw Permalink Normal View History

2024-01-09 20:38:24 -05:00
#!/bin/sh
2023-03-01 19:48:19 -05:00
# Minimal setup for Fedora
set -e
2023-03-01 19:48:19 -05:00
cd
2023-03-01 19:55:17 -05:00
sudo dnf -y install \
2024-01-09 20:38:24 -05:00
sl \
btop \
neovim \
byobu \
zsh \
nnn \
mosh \
clang \
2023-03-01 19:48:19 -05:00
2024-01-09 20:38:24 -05:00
# Packer
2023-03-01 19:48:19 -05:00
if ! test -d ~/.local/share/nvim/site/pack/packer/start/packer.nvim; then
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
~/.local/share/nvim/site/pack/packer/start/packer.nvim
fi
2023-03-01 19:48:19 -05:00
# OhMyZsh
if ! test -d .config/zsh/ohmyzsh; then
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
fi
# Set shell
2024-01-09 20:38:24 -05:00
sudo usermod -s /bin/zsh "$USER"