2019-11-12 17:23:19 +01:00
|
|
|
# if running bash
|
|
|
|
if [ -n "$BASH_VERSION" ]; then
|
|
|
|
# include .bashrc if it exists
|
|
|
|
if [ -f "$HOME/.bashrc" ]; then
|
|
|
|
. "$HOME/.bashrc"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2021-10-06 15:31:42 +02:00
|
|
|
# if `$HOME/.local/bin` exists, add it to $PATH
|
2019-11-12 17:23:19 +01:00
|
|
|
if [ -d "$HOME/.local/bin" ] ; then
|
|
|
|
PATH="$HOME/.local/bin:$PATH"
|
|
|
|
fi
|
|
|
|
|
2021-10-06 15:31:42 +02:00
|
|
|
# if `$HOME/.cargo/bin` exists, add it to $PATH
|
2019-12-19 18:32:27 +01:00
|
|
|
if [ -d "$HOME/.cargo/bin" ] ; then
|
2019-11-22 13:42:13 +01:00
|
|
|
PATH="$HOME/.cargo/bin:$PATH"
|
|
|
|
fi
|
2021-10-06 15:31:42 +02:00
|
|
|
|
|
|
|
# if `$HOME/go/bin` exists, add it to $GOPATH
|
2024-12-16 21:03:02 +01:00
|
|
|
if [ -d "$HOME/.go/bin" ] ; then
|
|
|
|
GOPATH="$HOME/.go/bin"
|
|
|
|
PATH="$GOPATH:$PATH"
|
2021-10-06 15:31:42 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
# if `/usr/local/go/bin` exists, add it and $GOPATH to $PATH
|
|
|
|
if [ -d "/usr/local/go/bin" ] ; then
|
|
|
|
PATH="/usr/local/go/bin:$GOPATH:$PATH"
|
|
|
|
fi
|
2024-12-23 22:51:17 +01:00
|
|
|
|
|
|
|
# ssh agent
|
|
|
|
eval `ssh-agent`
|