summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShubham Saini <pryr@pryr.xyz>2020-12-03 12:41:55 +0000
committerShubham Saini <pryr@pryr.xyz>2020-12-03 12:41:55 +0000
commit3c4f16e8a18db6260bcde3f6f5e4844392d1e9cb (patch)
treef10c4c0fabef676d4329a330804b4345359a3187
parent0e4410594fbfd02b34776c83ea4ad6a39e21b871 (diff)
pacman wrapper
-rwxr-xr-xbin/.bin/pkg10
1 files 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 @@
2 2
3case "$1" in 3case "$1" in
4 i*) 4 i*)
5 sudo xbps-install "$@" 5 sudo pacman -S "$@"
6 ;; 6 ;;
7 d*) 7 d*)
8 sudo xbps-remove -R "$@" 8 sudo pacman -Rs "$@"
9 ;; 9 ;;
10 q*) 10 q*)
11 sudo xbps-query "$@" 11 sudo pacman -Ss "$@"
12 ;; 12 ;;
13 u*) 13 u*)
14 sudo xbps-install -Syu 14 yay
15 ;; 15 ;;
16 o*) 16 o*)
17 sudo xbps-remove -Oo 17 sudo pacman -Rsn $(pacman -Qdtq)
18 ;; 18 ;;
19 *) 19 *)
20 printf "i - install\nd - delete\nq - query\nu - update\no - remove obs" 20 printf "i - install\nd - delete\nq - query\nu - update\no - remove obs"