From 1fa6dbcf6e7986681311eb1b0d564d053fbe4c9f Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Wed, 1 Mar 2023 19:48:19 -0500 Subject: [PATCH] fedora support --- .scripts/doors/install_min_fedora | 26 ++++++++++++++++++++++++++ .scripts/doors/setup | 6 ++++++ 2 files changed, 32 insertions(+) create mode 100755 .scripts/doors/install_min_fedora diff --git a/.scripts/doors/install_min_fedora b/.scripts/doors/install_min_fedora new file mode 100755 index 0000000..49cfedc --- /dev/null +++ b/.scripts/doors/install_min_fedora @@ -0,0 +1,26 @@ +#!/bin/bash + +cd + +sudo dnf install -y \ +sl \ +btop \ +neovim \ +byobu \ +zsh \ +lf \ +nnn \ +kitty-terminfo \ +mosh \ + +# Packer +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 && + +# OhMyZsh +if ! test -d .config/zsh/ohmyzsh; then + sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" +fi && +sudo chsh -s /bin/zsh $USER diff --git a/.scripts/doors/setup b/.scripts/doors/setup index f08f527..5d8a019 100755 --- a/.scripts/doors/setup +++ b/.scripts/doors/setup @@ -34,6 +34,12 @@ elif [[ $OS == *buntu* ]]; then sudo apt-get -y install git rsync && git clone https://github.com/adoyle0/Doors.git .doors && .doors/.scripts/doors/install_min_ubuntu + +elif [[ $OS == *Fedora* ]]; then + cd && + sudo dnf install -y git rsync && + git clone https://github.com/adoyle0/Doors.git .doors && + .doors/.scripts/doors/install_min_fedora fi # send it