Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 903 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 903 Bytes

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