0b10 / userinstalled

A zsh plugin to backup (dnf) user installed packages (names)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

userinstalled

A zsh plugin to backup (DNF) user installed packages (names).

e.g.

userinstalled help
userinstalled edit  # edit the config file
userinstalled backup  # dnf repoquery --userinstalled > target.txt
userinstalled restore # sudo dnf install $packages

Motivations

Simplicity, ease-of-use. Typing:

dnf repoquery --userinstalled --queryformat %{name} | grep -vE "pkg1|pkg2|pkg3" > /foo/bar/baz.txt

...everytime you want to backup your installed package names, is a lot more work than simply: userinstalled

Features

  • Backup all user installed packages to a designated file
  • Restore (install) all backed up packages
  • Ignore a package, or packages

Install

Zplugin

For turbo mode:

zplugin ice lucid wait
zplugin light 0b10/userinstalled

Without turbo mode:

zplugin light 0b10/userinstalled

About

A zsh plugin to backup (dnf) user installed packages (names)

License:The Unlicense


Languages

Language:Shell 100.0%