wfxr / forgit

:zzz: A utility tool powered by fzf for using git interactively.
MIT License
4.32k stars 136 forks source link

Remove extraneous PATH export #329

Closed hyperupcall closed 6 months ago

hyperupcall commented 6 months ago

Check list

Description

This updates the documentation for using forgit as a subcommand of git by removing the use of the export built-in. For all intensive purposes, PATH is already exported. If it weren't, then executing a subprocess (ex. system("bash ...")) would always fail since PATH wouldn't be copied from parent to child. This simplifies the export line accordingly.

Type of change

Test environment

cjappl commented 6 months ago

Thanks for the contribution!