Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistent behavior when XDG_DATA_HOME is specified #14

Closed
VojtechStep opened this issue Apr 18, 2020 · 1 comment · Fixed by #15
Closed

Consistent behavior when XDG_DATA_HOME is specified #14

VojtechStep opened this issue Apr 18, 2020 · 1 comment · Fixed by #15

Comments

@VojtechStep
Copy link
Contributor

Currently, when the environment variable XDG_DATA_HOME is not
specified, autojump-rs puts its data files under
~/.local/share/autojump/..., but if it is specified, it puts it into
the directory directly - no autojump folder is created.

I feel this behavior is inconsistent, because it does different things
when the data home is set to its default value, ~/.local/share.

I think we should always use a separate directory for autojump inside
whatever data directory is specified.

@VojtechStep
Copy link
Contributor Author

Also, after looking at the source code of the original autojump, they
always create their directory, so this is a needless deviation from
the tool you're trying to replace and it's not documented, so I think
this should be considered a legitimate bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant