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

Wingo doesn't look for config in $GOPATH/src/github.com/BurntSushi/wingo/data at startup #103

Open
filmil opened this issue Jan 6, 2014 · 3 comments

Comments

@filmil
Copy link

filmil commented Jan 6, 2014

Though wingo --help says that $GOPATH/src/github.com/BurntSushi/wingo/data is one of the paths searched for data, it doesn't happen.

The only time that I actually get wingo to run is if I fix the --data-dir to an absolute directory.

@filmil
Copy link
Author

filmil commented Jan 6, 2014

What has worked for me is:

wingo --data-dir=$HOME/code/go/src/github.com/BurntSushi/wingo --replace

@ghost
Copy link

ghost commented Jan 6, 2014

That is because wingo --write-config writes to "$HOME/.config/wingo"

@filmil
Copy link
Author

filmil commented Jan 6, 2014

Maybe. But wingo --help says that it should behave this way, and it does not. IMHO either help should be changed to match behavior, or wingo behavior should be changed to match doc.

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

No branches or pull requests

1 participant