Set your last expression to a variable
$ variablename = _
allows you to set to variablename the last thing you typed in your terminal.
$ "Jonathan"
=> "Jonathan"
$ name = _
=> "Jonathan"
Written by Jonathan Pepin
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Terminal
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#