summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-24 17:18:01 -0600
committerzachir <zachir@librem.one>2023-02-24 17:18:01 -0600
commitae28133c6446392743c6e361eaa9c7c53d826b0c (patch)
tree2724b9021ec60f5d4e735ebdeddc3f605e9dc18e /sh
parent644f36e7a7202c4bd2d1bc7e90207974f9db0d88 (diff)
universalize/move package aliases (not really)
Diffstat (limited to 'sh')
-rw-r--r--sh/aliases15
1 files changed, 12 insertions, 3 deletions
diff --git a/sh/aliases b/sh/aliases
index 5733a7c..8dfc57f 100644
--- a/sh/aliases
+++ b/sh/aliases
@@ -58,9 +58,18 @@ alias cbr='cargo build --release'
#alias yu='yay -Syu --noconfirm'
## OpenBSD
-alias pq='pkg_info -Q'
-alias pu='doas pkg_add -u'
-alias pa='doas pkg_add'
+case `uname -s` in
+ "OpenBSD")
+ alias ps='pkg_info -Q'
+ alias pu='doas pkg_add -u'
+ alias pi='doas pkg_add'
+ ;;
+ "Linux")
+ alias ps='yay -Ss'
+ alias pu='yay -Syu'
+ alias pi='yay -S'
+ ;;
+esac
## Runit
#alias ursm='env SVDIR="$HOME/.local/sv/" rsm'