zalimeni / overdub

Create new commands from your shell history or terminal.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

overdub

Create new commands from your shell history or terminal.

TODO list

Initial release

  • Actually support making a dubbed function (basic)
  • Install subcommand
    • Manage added commands in env-var-pathed separate file
    • Add post-execution alias to source file of added fns when main command is run
    • NTS: Using sourced fns takes care of auto-complete previously in this list
    • Maybe: Add note to README about recommended auto-complete options for supported shells

Nice-to-haves

  • Support parameterization
    • Maybe use command parser lib to guess options for interactive edit?
  • Filter out unlikely commands (e.g. package managers) from suggestions list
  • Limit history pull to sane number for speed (500?)
  • Dedupe commands to choose from
  • fzf style search for selecting
  • Comment annotations to edit
    • Serialized original command?
    • Parse back persisted fn for edit

About

Create new commands from your shell history or terminal.

License:MIT License


Languages

Language:Go 100.0%