oh-my-fish / plugin-vcs

A version control system abstraction layer for Fishshell
MIT License
10 stars 10 forks source link

Adds logic to find the correct vcs path #14

Open mstergianis opened 1 year ago

mstergianis commented 1 year ago

More of a PRFC than an actual PR. I'm not super familiar with omf and fish, so I'm flying by the seat of my pants. This broke for me today because $conf_path was being passed in as an array, so $vcs_path was automatically being set to the first element of the array, which in my case was not the vcs path, but something else based on my plugin installations (and probably the order in which the directories are traversed by fish).

Happy to make adjustments if you have a better strategy for selecting the correct directory, or maybe something is messed up in my installation and I just need to tear it down and reinstall :shrug:.

Signed-off-by: Michael Stergianis mstergianis@vmware.com