dotfiles/scripts/visman

5 lines
159 B
Bash
Executable File

#!/bin/sh
# https://superuser.com/a/207474
man $(apropos . | fzf --no-multi --tiebreak=begin --query="$*" | sed -n 's/^\([^ ]\+\) \?(\([^)]\+\)).*$/\2 \1/p')