dotfiles

Yes, my $HOME has a git repo now :(

git clone git://git.shimmy1996.com/dotfiles.git
commit 1431ede4668c1fcb84c60b77bb91b5fe1a29a339
parent 7e590d8dacdde0315be0f3f2e584ac7f93b6a6a5
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Thu, 21 Mar 2019 15:24:07 -0400

Add GOPATH and update PATH in both systemd and bash.

Diffstat:
A.config/environment.d/90-go.conf | 2++
M.gitignore | 2++
M.profile | 6+++++-
3 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/.config/environment.d/90-go.conf b/.config/environment.d/90-go.conf
@@ -0,0 +1,2 @@
+GOPATH=/home/shimmy/.go
+PATH=$GOPATH/bin:$PATH
diff --git a/.gitignore b/.gitignore
@@ -14,6 +14,8 @@
 !.config/alacritty/*
 !.config/dunst
 !.config/dunst/*
+!.config/environment.d
+!.config/environment.d/*
 !.config/git
 !.config/git/*
 !.config/greenclip.cfg
diff --git a/.profile b/.profile
@@ -6,7 +6,11 @@ if [[ `hostname` == "bluebear" ]]; then
 fi
 
 # Add `~/.local/bin/` to path.
-export PATH=$HOME/.local/bin/:$PATH
+export PATH=$HOME/.local/bin:$PATH
+
+# Go settings.
+export GOPATH=$HOME/.go
+export PATH=$GOPATH/bin:$PATH
 
 # Fcitx fixes
 export XMODIFIERS=@im=fcitx