mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2026-03-13 03:24:06 +01:00
15 lines
225 B
Bash
Executable file
15 lines
225 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set_path(){
|
|
if [ -d "${1}" ]; then
|
|
export PATH="${1}:${PATH}"
|
|
fi
|
|
}
|
|
|
|
set_path ~/.local/bin
|
|
set_path ~/.bin
|
|
|
|
export GOPATH="${HOME}/.go"
|
|
export GOBIN="${HOME}/.gobin"
|
|
set_path "${GOPATH}/bin"
|
|
set_path "${GOBIN}"
|