Last Updated: February 25, 2016
·
337
· jauny

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"