Wingo doesn't look for config in $GOPATH/src/github.com/BurntSushi/wingo/data at startup
filmil opened this issue · comments
Filip Filmar commented
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.
Filip Filmar commented
What has worked for me is:
wingo --data-dir=$HOME/code/go/src/github.com/BurntSushi/wingo --replace
Deleted user commented
That is because wingo --write-config
writes to "$HOME/.config/wingo"
Filip Filmar commented
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.