pip install getchwrap getchwrap -h # create a getchwrap wrapper alias # alias __git-commit-getchwrap='VISUAL=vi getchwrap eynqsh?d -p "(Stage|Discard).+[?] " --' # wrap "git commit" # alias gcp='__git-commit-getchwrap git commit -p'
A subprocess wrapper to ergonomically enhance tty user input
pip install getchwrap==20201123.0
pip install getchwrap getchwrap -h # create a getchwrap wrapper alias # alias __git-commit-getchwrap='VISUAL=vi getchwrap eynqsh?d -p "(Stage|Discard).+[?] " --' # wrap "git commit" # alias gcp='__git-commit-getchwrap git commit -p'