diff options
author | zachir <zachir@librem.one> | 2023-02-24 17:18:01 -0600 |
---|---|---|
committer | zachir <zachir@librem.one> | 2023-02-24 17:18:23 -0600 |
commit | 358e7aee17ea0e8a86420d3aa4ef3f7d183e3c6d (patch) | |
tree | d339eaacdd77f818589afc7102766b210290aefb /sh | |
parent | 62474f75a769b4518c9936027ffb05ec08a2a273 (diff) |
universalize/move package aliases (not really)
Diffstat (limited to 'sh')
-rw-r--r-- | sh/aliases | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -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' |