mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-08-09 17:41:12 +10:00
Update
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
manual=$(apropos -s ${SECTION:-''} ${@:-.} | \
|
||||
grep -v -E '^.+ \(0\)' |\
|
||||
awk '{print $2 " " $1}' | \
|
||||
sort | \
|
||||
dmenu -i -p "Manual: " | \
|
||||
sed -E 's/^\((.+)\)/\1/')
|
||||
|
||||
if [ -z "$MANUAL" ]; then
|
||||
man -T${FORMAT:-pdf} $manual | ${READER:-zathura -}
|
||||
fi
|
||||
Reference in New Issue
Block a user