diff --git a/config/zsh/functions/fedora.zsh b/config/zsh/functions/fedora.zsh index 7edb325..bad34af 100644 --- a/config/zsh/functions/fedora.zsh +++ b/config/zsh/functions/fedora.zsh @@ -5,10 +5,19 @@ dnf-save-install() { sudo dnf install -y $(cat "$DOTS/exports/dnf.txt") } +dnf-load-export() { + while read -r line; do + sudo dnf copr enable -y "$line" + done <"$DOTS/exports/copr.txt" + + sudo dnf install -y $(cat "$DOTS/exports/dnf.txt") +} + upgrade() { sudo dnf upgrade --refresh -y } +# where did I get this? mayor-upgrade() { if [[ $(dnf check-update -q) ]]; then echo "There are updates pending, update and reboot? [y/N]" diff --git a/exports/dnf.txt b/exports/dnf.txt index 99b9174..b7f15ff 100644 --- a/exports/dnf.txt +++ b/exports/dnf.txt @@ -1,3 +1,4 @@ +bat dnf-plugin-system-upgrade duf exa