Created
January 11, 2017 23:11
-
-
Save michaelvobrien/c0d2c7409ad288a33da95248b8da09ef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
QUERY=${1:-h/1} | |
elixir -e " | |
import IEx.Helpers | |
Application.put_env(:iex, :colors, [width: 80, enabled: true]) | |
h(${QUERY}) | |
" \ | |
| /usr/bin/less -R | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment