From 7f09d83008f3e0446637255a8739559a9ec3b6b8 Mon Sep 17 00:00:00 2001 From: Jason Hilder Date: Sun, 9 Aug 2026 06:11:46 +0200 Subject: [PATCH] Added void helper aliases. --- config/bash/bashrc | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/config/bash/bashrc b/config/bash/bashrc index a8e82fb..883d810 100644 --- a/config/bash/bashrc +++ b/config/bash/bashrc @@ -78,6 +78,28 @@ fi # ============================================================================== # ALIASES # ============================================================================== +# Void linux helpers +# System update (sync + update all packages) +alias void-update='sudo xbps-install -Su' +# Remove orphaned dependencies + clean cache +alias void-clean='sudo xbps-remove -Oo' +# List explicitly installed (manual) packages +alias void-installed='xbps-query -m' +# List all installed packages +alias void-installedall='xbps-query -l' +# Show which package owns a file +alias void-owns='xbps-query -o' +# Remove a package and its unused deps in one go (usage: purge ) +alias void-purge='sudo xbps-remove -R' +# Install a package (usage: install ) +alias void-install='sudo xbps-install' +# Remove a package (usage: remove ) +alias void-remove='sudo xbps-remove' +# Search for a package +alias void-search='xbps-query -Rs' +# Show info about a package +alias void-query='xbps-query -R' + # List commands alias ls='ls -lh --color=auto --group-directories-first' alias ll='ls -lAh --color=auto --group-directories-first'