diff --git a/scripts/visman b/scripts/visman new file mode 100755 index 0000000..d7e1ed7 --- /dev/null +++ b/scripts/visman @@ -0,0 +1,3 @@ +#!/bin/sh + +man $(apropos '' | fzf --no-multi --tiebreak=begin | sed -n 's/^\([^ ]\+\) (\([^)]\+\)).*$/\2 \1/p') diff --git a/zsh/path.zsh b/zsh/path.zsh index 6cc275d..91c3d8b 100644 --- a/zsh/path.zsh +++ b/zsh/path.zsh @@ -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