aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdwim5
1 files changed, 5 insertions, 0 deletions
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;