aboutsummaryrefslogtreecommitdiff
path: root/dwim
diff options
context:
space:
mode:
Diffstat (limited to 'dwim')
-rwxr-xr-xdwim5
1 files changed, 5 insertions, 0 deletions
diff --git a/dwim b/dwim
index dd26e77..b8957fb 100755
--- a/dwim
+++ b/dwim
@@ -52,6 +52,11 @@ for ($phrase) {
# otherwise fall through
}
+ if (/^([^\s]+)\(([^\s]+)\)/) {
+ handle "{manpage}({section})";
+ run @LAUNCHER, "man", "$2", "$1";
+ }
+
if (/^([^\s]+)$/) {
handle "maildir / directory / file";
my $p = path $1;