Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 2b2ea33

Browse files
info about EDITOR environment variable for windows
1 parent ec5ca47 commit 2b2ea33

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

documentation.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ yarn global add gitlab-time-tracker --prefix /usr/local
3535

3636
... or download a compiled binary from [here](https://github.com/kriskbx/gitlab-time-tracker/releases) and put it into your `PATH`.
3737

38+
In windows, before running `gtt config`, make sure you have setup the enviornmental variable `EDITOR` correctly pointing to a text editor binary. Otherwise, you will get an error just like mentioned in [issue #96](https://github.com/kriskbx/gitlab-time-tracker/issues/96)
39+
40+
![image](https://user-images.githubusercontent.com/46928648/137857047-6b764226-9515-4594-8256-c7cd6f004f9a.png)
41+
42+
3843
Run the config command to create a config file and open it in your default editor.
3944
In linux terminal, you must set your preferred editor in the environment. For example, use `export EDITOR=vim` to edit the files with vim (put this in `.bashrc` or similar to have it always configured).
4045
If nothing happens, open the file manually: `~/.local/share/.gtt` - on Windows: `C:\Users\YourUserName\.gtt\config.yml`

0 commit comments

Comments
 (0)