knqyf263 / pet

Simple command-line snippet manager
MIT License
4.45k stars 224 forks source link

pet exec --last-command? #146

Closed dgrabla closed 7 months ago

dgrabla commented 3 years ago

Hi there,

I really like your snippet bookmark manager but there is something that bugs me: When I want to exec a command, I am always presented a list AFAIK there is no shortcut to just rerun the last command selected the same way it was run the last time (using the same variables etc)

Is there an option or a workaround to re-run the last command? I could not find the option or a 'history' log I could use.