i3keys icon indicating copy to clipboard operation
i3keys copied to clipboard

$HOME/go

Open YodaEmbedding opened this issue 5 years ago • 1 comments

Installing/updating via the AUR package seems to create the directory $HOME/go. Isn't there any way to avoid creating a new directory in $HOME?

YodaEmbedding avatar Jun 22 '20 17:06 YodaEmbedding

I don't know if you can avoid the creation of a directory completely. You can choose to have the location elsewhere, but a directory will be created nonetheless.

You'll have to set the environment variable GOPATH to where you would like to store it, like /home/rasmus/trash/go. Here are some instructions for common shells https://github.com/golang/go/wiki/SettingGOPATH.

I will take a look at other packages how they do it and see if there's a way to avoid the creation of unnecessary directories :)

RasmusLindroth avatar Jun 27 '20 14:06 RasmusLindroth