cantino / mcfly

Fly through your shell history. Great Scott!
MIT License
6.77k stars 176 forks source link

Don't prepend extra copies to prompt command #235

Closed nfultz closed 2 years ago

nfultz commented 2 years ago

When starting subshells, extra copies of mcfly_prompt_command can get preprended. Instead, check first and only prepend if not found.

cantino commented 2 years ago

Good catch, thank you @nfultz!

cantino commented 2 years ago

https://github.com/cantino/mcfly/releases/tag/v0.6.0 released!