You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you don't specify this flag, `gh-dash` uses the default configuration. If the file doesn't exist, gh-dash will create it. The location of the default configuration file depends on your system:
47
47
48
-
1. If Inside a git repo, `gh-dash` will look for a `.gh-dash.yml` file in the root of the repo.
49
-
2. If `$GH_DASH_CONFIG` is a non-empty string, `gh-dash` will use this file for
48
+
1. If `$GH_DASH_CONFIG` is a non-empty string, `gh-dash` will use this file for
50
49
its configuration.
51
-
3. If `$GH_DASH_CONFIG` isn't set and `$XDG_CONFIG_HOME` is a non-empty string,
52
-
the default path is `$XDG_CONFIG_HOME/gh-dash/config.yml`.
53
-
4. If neither `$GH_DASH_CONFIG` or `$XDG_CONFIG_HOME` are set, then:
54
-
- On Linux and macOS systems, the default path is `$HOME/gh-dash/config.yml`.
55
-
- On Windows systems, the default path is `%USERPROFILE%\gh-dash\config.yml`.
50
+
2. If `$GH_DASH_CONFIG` isn't set and you're in a git repository, it will look for `.gh-dash.yml` or `.gh-dash.yaml`
51
+
in the repository root.
52
+
3. If neither of the above applies, then:
53
+
- If `$XDG_CONFIG_HOME` is a non-empty string, the default path is `$XDG_CONFIG_HOME/gh-dash/config.yml`.
54
+
- If `$XDG_CONFIG_HOME` isn't set, then:
55
+
- On Linux and macOS systems, the default path is `$HOME/.config/gh-dash/config.yml`.
56
+
- On Windows systems, the default path is `%USERPROFILE%\.config\gh-dash\config.yml`.
56
57
57
58
For more information about authoring configurations, see [Configuration][02].
0 commit comments