all repos — dotfiles @ 1a7d6e0dd25fc6c02e3d87db5617931592fb5e28

my *nix dotfiles

home/bin/pkg (view raw)

 1#!/bin/sh
 2# pkg - a wrapper around pkg_*
 3
 4case "$1" in
 5    add*)
 6        shift
 7        doas pkg_add "$@"
 8        ;;
 9    del*)
10        shift
11        doas pkg_delete "$@"
12        ;;
13    info*)
14        shift
15        doas pkg_info -Q "$@"
16        ;;
17    upd*)
18        doas pkg_add -u
19        ;;
20esac