79488888

Date: 2025-03-06 09:49:24
Score: 1
Natty:
Report link

Fish 4.0 added a history append command - so now Bretts answer can be simplified to

function evalh --wraps="eval" --description="eval and add to history"
    history append $argv
    eval $argv
end
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tomer Keren