Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- info gpg |less
- ### PATH & MANPATH
- # My personal utilities
- export PATH=$PATH:$HOME/bin
- ### Set the manpath based on the PATH, after man(1) parses man.conf
- # - No need to modify man.conf or manually modify MANPATH_MAP
- # - Works on Linux, FreeBSD & Darwin, unlike /etc/manpaths.d/
- # See "SEARCH PATH FOR MANUAL PAGES" in man(1)
- # Just set the man search path. Don't print output to screeen.
- manpath >/dev/null
- unset MANPATH
- manpath >/dev/null
- let $GROFF_NO_SGR=1
- runtime ftplugin/man.vim
- -K, --global-apropos
- Search for text in all manual pages. This is a brute-force
- search, and is likely to take some time; if you can, you should
- specify a section to reduce the number of pages that need to be
- searched. Search terms may be simple strings (the default), or
- regular expressions if the --regex option is used.
- # Print man pages
- manp() { man -t "$@" | lpr -pPrinter; }
- # Create pdf of man page - requires ghostscript and mimeinfo
- manpdf() { man -t "$@" | ps2pdf - /tmp/manpdf_$1.pdf &&
- xdg-open /tmp/manpdf_$1.pdf ;}
- konqueror man:(command)
- konqueror man:
- info read |grep \-s
- man read |grep \-s
- help read |grep \-s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement