Skip to content

Instantly share code, notes, and snippets.

@jwilkins
Created October 9, 2011 21:20
Show Gist options
  • Save jwilkins/1274200 to your computer and use it in GitHub Desktop.
Save jwilkins/1274200 to your computer and use it in GitHub Desktop.
rlwrap for node
#http://blog.doteight.com/2011/01/16/rlwrap-and-node.html
#http://utopia.knoware.nl/~hlub/rlwrap/rlwrap.html
alias node='env NODE_NO_READLINE=1 rlwrap -p Green -S "node >>> " node'
@fvictorio
Copy link

Thanks for this. I had to use -pgreen for me to work, though (with rlwrap 0.41).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment