From 3c4f16e8a18db6260bcde3f6f5e4844392d1e9cb Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Thu, 3 Dec 2020 18:11:55 +0530 Subject: pacman wrapper --- bin/.bin/pkg | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/.bin/pkg b/bin/.bin/pkg index 5eea459..8c827df 100755 --- a/bin/.bin/pkg +++ b/bin/.bin/pkg @@ -2,19 +2,19 @@ case "$1" in i*) - sudo xbps-install "$@" + sudo pacman -S "$@" ;; d*) - sudo xbps-remove -R "$@" + sudo pacman -Rs "$@" ;; q*) - sudo xbps-query "$@" + sudo pacman -Ss "$@" ;; u*) - sudo xbps-install -Syu + yay ;; o*) - sudo xbps-remove -Oo + sudo pacman -Rsn $(pacman -Qdtq) ;; *) printf "i - install\nd - delete\nq - query\nu - update\no - remove obs" -- cgit v1.2.3