commit f9b5e90742ccde996cd4ff6e649d483b88b503a7
parent 2cb57525efcf421231ac44ddad84a946e5b0551f
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sun, 7 Jun 2020 15:14:18 +0200
Make mandoc target matching stricter
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/plumb b/.local/bin/plumb
@@ -214,7 +214,7 @@ handle_target() {
else
termopen sacc "$t"
fi
- elif regexmatch "$t" '\.[0-9]$'; then
+ elif regexmatch "$t" '[A-z]\.[0-9]$'; then
if [ -z "$TERM" ]; then
detach $TERMINAL mandoc -l "$(fetch "$t")"
else