XBPS Package Manager
This commit is contained in:
parent
67ea9ff2d1
commit
fbcec515a2
@ -13,7 +13,7 @@
|
||||
# ☑ pacman Arch-based
|
||||
# ☑ zypper SUSE
|
||||
# ☑ apk Alpine
|
||||
# ☐ xbps Void
|
||||
# ☑ xbps Void
|
||||
# ☐ pkg_bsd FreeBSD
|
||||
# ☐ pkg_redox RedoxOS
|
||||
|
||||
|
||||
57
pkg/xbps/02_abbreviations.fish
Normal file
57
pkg/xbps/02_abbreviations.fish
Normal file
@ -0,0 +1,57 @@
|
||||
# Common package management
|
||||
#------------------------------------------------------
|
||||
|
||||
# Install / remove
|
||||
abbr inst "sudo xbps-install -Sy"
|
||||
abbr uinst "sudo xbps-remove"
|
||||
abbr pkgrm "sudo xbps-remove"
|
||||
abbr purge "sudo xbps-remove -Ro"
|
||||
|
||||
# Upgrade / maintenance
|
||||
abbr upgr "sudo xbps-install -Su"
|
||||
abbr autoremove "sudo xbps-remove -Oo"
|
||||
abbr pkgclean "sudo xbps-remove -O"
|
||||
|
||||
# Search / information
|
||||
abbr pkgsh "xbps-query -Rs"
|
||||
abbr pkginfo "xbps-query -R"
|
||||
abbr pkgls "xbps-query -l"
|
||||
|
||||
# Package relationships
|
||||
abbr pkgdep "xbps-query -Rx"
|
||||
abbr pkgrdep "xbps-query -RX"
|
||||
|
||||
# Package ownership / files
|
||||
abbr pkgfiles "xbps-query -Rf"
|
||||
abbr pkgowner "xbps-query -o"
|
||||
|
||||
# Installed package information
|
||||
abbr pkgstatus "xbps-query"
|
||||
abbr pkgverify "xbps-pkgdb -a"
|
||||
|
||||
# XBPS-specific
|
||||
#------------------------------------------------------
|
||||
|
||||
# Synchronize repository indexes
|
||||
abbr pkgrefresh "sudo xbps-install -S"
|
||||
|
||||
# Reconfigure installed packages
|
||||
abbr pkgreconf "sudo xbps-reconfigure"
|
||||
|
||||
# Reconfigure all packages
|
||||
abbr pkgreconfall "sudo xbps-reconfigure -fa"
|
||||
|
||||
# Reinstall package
|
||||
abbr pkgreinstall "sudo xbps-install -f"
|
||||
|
||||
# Reverse dependencies
|
||||
abbr pkgrevdep "xbps-query -RX"
|
||||
|
||||
# Package database
|
||||
abbr pkgdb "sudo xbps-pkgdb"
|
||||
|
||||
# Audit shared library dependencies
|
||||
abbr pkgaudit "sudo xbps-pkgdb -a"
|
||||
|
||||
# Package cache
|
||||
abbr pkgcache "ls /var/cache/xbps"
|
||||
14
pkg/xbps/functions/updt.fish
Normal file
14
pkg/xbps/functions/updt.fish
Normal file
@ -0,0 +1,14 @@
|
||||
function updt \
|
||||
--description "Update the system"
|
||||
|
||||
sudo xbps-install -S
|
||||
or return
|
||||
|
||||
sudo xbps-install -u
|
||||
or return
|
||||
|
||||
sudo xbps-remove -Oo
|
||||
|
||||
updt_helpers
|
||||
updt_languages
|
||||
end
|
||||
Loading…
x
Reference in New Issue
Block a user