[ ] I have commented my code in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
Description
When trying to open a file from gd in $EDITOR (alt + e) the wrong file was being opened when the command wasn't executed from the repository's root directory.
Fixes #392
Check list
Description
When trying to open a file from gd in $EDITOR (alt + e) the wrong file was being opened when the command wasn't executed from the repository's root directory. Fixes #392
Type of change
Test environment