Update 2025-01-08 08:15 OpenBSD/amd64-t14
This commit is contained in:
11
.bin/dexec_man
Executable file
11
.bin/dexec_man
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
. $HOME/.bin/_config
|
||||
|
||||
SEL=$(man -k any= | $DMENU_CMD -l 10 -p "Man")
|
||||
|
||||
[ -z "$SEL" ] && exit 0
|
||||
|
||||
N=$(echo "$SEL" | cut -d"(" -f2 | cut -d")" -f1)
|
||||
M=$(echo "$SEL" | cut -d"(" -f1 | cut -d"," -f1)
|
||||
|
||||
sterm -e man -s $N $M
|
||||
Reference in New Issue
Block a user