all repos — dotfiles @ ca626894ecd234fe4a759ac8ffbe05becbed1c00

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