fix git parsing and init

- run `ls ROOT_PATH` on init to make sure we are in the right place
- match git path with `.*` to make sure we check when in a subdir
> it could cause issues though, fix this later with a better
> git interface
This commit is contained in:
kyazdani42
2020-02-19 23:01:52 +01:00
parent e85dc5eb0f
commit f397e1050c
3 changed files with 6 additions and 9 deletions

View File

@@ -24,5 +24,3 @@
- cd command to move faster accross the fs if needed
- quickly find file in the directory structure
- use libuv functions instead of `touch` and `mkdir` in `add_file()`
- fix colors fucks up on refresh sometimes (and git is wrong when cd into a subdirectory)