Skip to content

Instantly share code, notes, and snippets.

@Osse
Created November 16, 2012 23:50
Show Gist options
  • Save Osse/4091992 to your computer and use it in GitHub Desktop.
Save Osse/4091992 to your computer and use it in GitHub Desktop.
man wrapper you can use patterns with
if (( ${#@} == 1 ))
then
command man $1
else
command man --pager="pager -s -p ${(q)*[2,-1]}" $1
fi
# vim: ft=zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment