• anytimesoon
    link
    fedilink
    25 days ago

    How do you alias the last command? My aliases are all hard coded. I had no idea you could send a variable to an alias

    • @[email protected]
      link
      fedilink
      25 days ago

      Probably with !! (!n will be the command corresponding to the number n in your history, !! is shorthand for the last command)