oh-my-fish / plugin-vcs

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

Creating a Git repo causes errors #5

Closed sagebind closed 7 years ago

sagebind commented 7 years ago

Creating a new Git repository inside the current directory causes vcs to not function correctly until you change directories.

Example:

~ $ mkdir test
~ $ cd test
~/test $ git init
~/test $ vcs.root
fish: Unknown command 'vcs.root'

The errors are more intrusive if the current theme uses vcs to display info in the prompt.

derekstavis commented 7 years ago

Should be now fixed in 6d0cc9d