dotfiles/home/.local/bin/scripts/gui/dmenu/dman

6 lines
160 B
Bash
Executable file

#!/bin/sh
# Dmenu prompt to easily search for a man page to open
page="$(apropos --long "$1" | dmenu -i -l 10 | awk '{print $2, $1}' | tr -d '()')"
man $page