Skip to content

Commit

Permalink
Fix mention of XDG env variable
Browse files Browse the repository at this point in the history
I made a mistake in #6895, which should be corrected to avoid confusion
on how to use the XDG directory specification.
  • Loading branch information
Mange authored and bbatsov committed May 14, 2019
1 parent e79690e commit 0ade4eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manual/configuration.md
Expand Up @@ -35,8 +35,8 @@ dotfile or a config file inside the [XDG Base Directory
specification][xdg-basedir-spec].

* `~/.rubocop.yml`
* `$XDG_HOME/rubocop/config.yml` (expands to `~/.config/rubocop/config.yml` if
`$XDG_CONFIG_HOME` is not set)
* `$XDG_CONFIG_HOME/rubocop/config.yml` (expands to `~/.config/rubocop/config.yml`
if `$XDG_CONFIG_HOME` is not set)

If both files exist, the dotfile will be selected.

Expand Down

0 comments on commit 0ade4eb

Please sign in to comment.