commit 0796d2904899666baa3a94d7abd4c20233bee56c
parent 56131f30668881e0a8bf7ac6bf82bf1914fa81a5
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 10 Apr 2019 13:43:53 +0200
Fix HOME entries in PATH
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.profile b/.profile
@@ -52,7 +52,7 @@ export NNN_SCRIPT="$HOME/.config/nnn"
[ -d /usr/local/sbin ] && export PATH=/usr/local/sbin:$PATH
[ -d ~/local/bin ] && export PATH=~/local/bin:$PATH
[ -d ~/.local/bin ] && export PATH=~/.local/bin:$PATH
-[ -d ~/bin ] && export PATH=~/bin:$PATH
+[ -d $HOME/bin ] && export PATH=$HOME/bin:$PATH
if [ -d ~/.linuxbrew ]; then
export PATH=~/.linuxbrew/bin:$PATH
export MANPATH=~/.linuxbrew/share/man:$MANPATH
@@ -64,7 +64,7 @@ if [ -d /home/linuxbrew/.linuxbrew ]; then
export INFOPATH=/home/linuxbrew/.linuxbrew/share/info:$INFOPATH
fi
-export GOPATH=~/src/golang
+export GOPATH=$HOME/src/golang
export PATH=$PATH:$GOPATH/bin
GPG_TTY=$(tty)