oh-my-fish / plugin-vcs

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

Two fixes for fish 3 #6

Closed oranja closed 5 years ago

oranja commented 5 years ago

After upgrading my local fish version to the newly released fish 3, it became very hard and slow to get a terminal up and running. There are certain breaking changes when moving from v2.7.1 to v3, and turns out that the vcs plugin, which powers many of OMF's themes, easily gets stuck in an infinite loop whenever stepping outside of a root of a hg/git local repository.

The first commit deals with the deprecation of ^ as stderr redirection and the second one deals with changes to how variable scoping works in a while loop.