Skip to main content

Command Palette

Search for a command to run...

Hide the "go" folder from the home directory

Published
1 min read

We're just gonna point the go path to a hidden folder in the home directory using zshrc variables.

mkdir ~/.go

nano ~/.zshrc

add this to the bottom

GOPATH=/home/nathan/.go

export GOPATH

PATH=$PATH:$GOPATH/bin

save it

log out and back in

A

Thanks, it was a good read, bookmarked, and followed!

More from this blog

My memory is Volatile

28 posts

This is a place where I'll be making tutorials for future-me on archlinux-related installs and fixes so I don't have to figure stuff out againe every few months. Use at your own risk.