From c66633ff31d50caf89a24055063c85c71af17605 Mon Sep 17 00:00:00 2001 From: John Date: Wed, 23 Oct 2019 09:30:58 +0200 Subject: xbps package support --- dwim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dwim b/dwim index 455d778..1548a50 100755 --- a/dwim +++ b/dwim @@ -64,6 +64,11 @@ for ($phrase) { fail "header file not found"; } + if (/^([^\s]+-[\d.]+_\d+)$/) { + handle "xbps package"; + run @LAUNCHER, "in-shell", "sudo", "xbps-install", "-S", $1; + } + if (/^([^\s]+)$/) { handle "maildir / directory / file"; my $p = path $1; -- cgit v1.2.3