oh-my-fish / plugin-vcs

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

Fix vcs.root.fish for hg #7

Closed cpojer closed 5 years ago

cpojer commented 5 years ago

I just upgraded to fish 3.0 and noticed that on hg repositories, fish would hang because I'm showing the vcs status in my prompt, which requires vcs.root to work. This change fixes it.

cpojer commented 5 years ago

cc @sagebind (you have commit access)

derekstavis commented 5 years ago

Hey @cpojer, sorry for the long time merging this and thanks for sending this out! Good catch on the variable scope! 👍