Skip to content

Instantly share code, notes, and snippets.

@loreb
Created January 18, 2014 14:37
Show Gist options
  • Save loreb/8491464 to your computer and use it in GitHub Desktop.
Save loreb/8491464 to your computer and use it in GitHub Desktop.
A better reader for GNU info pages that went straight into my ~/bin/, courtesy of robot_t on https://news.ycombinator.com/item?id=7069889 (ps support OpenBSD!)
#! /bin/sh
# This is my ~/bin/info
exec /usr/bin/info "$@" | exec less # linux
exec /usr/local/bin/info "$@" | exec less # *BSD
# References:
# https://news.ycombinator.com/item?id=7072844
# https://news.ycombinator.com/item?id=7075802
# THANK YOU robot_t on ycombinator!!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment