mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2024-12-30 19:33:43 +00:00
16 lines
455 B
Fish
16 lines
455 B
Fish
#!/usr/bin/fish
|
|
|
|
set -l output_dir "$HOME/bk/installed_packages_info"
|
|
mkdir -p $output_dir
|
|
|
|
rpm-ostree status -b | rg -A 100 "Packages:" >$output_dir/rpm-ostree.txt
|
|
|
|
flatpak list --app --columns=name,application,origin >$output_dir/flatpak.txt
|
|
|
|
cargo install --list | rg '(.+) .+:.*' -r '$1' >$output_dir/cargo.txt
|
|
|
|
pipx list | rg '.*package ([^\s]+).*' -r '$1' >$output_dir/pipx.txt
|
|
|
|
npm list -g >$output_dir/npm.txt
|
|
|
|
fisher list >$output_dir/fisher.txt
|