[scripts] add a script for searching manpages with fzf
This commit is contained in:
parent
eaf54fd311
commit
361ef09ae8
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
man $(apropos '' | fzf --no-multi --tiebreak=begin | sed -n 's/^\([^ ]\+\) (\([^)]\+\)).*$/\2 \1/p')
|
|
@ -2,7 +2,8 @@
|
|||
|
||||
# tie these env variables to zsh arrays
|
||||
typeset -T PKG_CONFIG_PATH pkg_config_path ':'
|
||||
export PKG_CONFIG_PATH
|
||||
|
||||
export PKG_CONFIG_PATH PATH MANPATH
|
||||
|
||||
path_prepend() {
|
||||
if (( $# < 2 )); then
|
||||
|
|
Loading…
Reference in New Issue