all repos — dotfiles @ 9613d5f64328a7b21ff49a3dcc12d8820b475fbf

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