2019-08-01 20:16:38 +00:00
|
|
|
# ~/.profile: executed by the command interpreter for login shells.
|
|
|
|
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
|
|
|
|
# exists.
|
|
|
|
# see /usr/share/doc/bash/examples/startup-files for examples.
|
|
|
|
# the files are located in the bash-doc package.
|
|
|
|
|
|
|
|
# the default umask is set in /etc/profile; for setting the umask
|
|
|
|
# for ssh logins, install and configure the libpam-umask package.
|
|
|
|
#umask 022
|
|
|
|
|
|
|
|
# if running bash
|
|
|
|
if [ -n "$BASH_VERSION" ]; then
|
|
|
|
# include .bashrc if it exists
|
|
|
|
if [ -f "$HOME/.bashrc" ]; then
|
|
|
|
. "$HOME/.bashrc"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
# set PATH so it includes user's private bin if it exists
|
|
|
|
if [ -d "$HOME/bin" ] ; then
|
|
|
|
PATH="$HOME/bin:$PATH"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# set PATH so it includes user's private bin if it exists
|
|
|
|
if [ -d "$HOME/.local/bin" ] ; then
|
|
|
|
PATH="$HOME/.local/bin:$PATH"
|
|
|
|
fi
|
|
|
|
|
2019-08-08 23:06:07 +00:00
|
|
|
|
|
|
|
## defaults ##
|
|
|
|
export GPG_TTY=$(tty)
|
|
|
|
# envs
|
|
|
|
export PATH=$PATH:/envs/bin
|
2019-08-25 12:54:35 +00:00
|
|
|
# bbj
|
2019-08-08 23:06:07 +00:00
|
|
|
export BBJ_USER=$USER
|
|
|
|
|
2019-09-03 20:26:15 +00:00
|
|
|
# latest GO
|
2019-09-03 23:53:07 +00:00
|
|
|
export GOROOT=/usr/local/go
|
2019-09-22 11:06:20 +00:00
|
|
|
export PATH=$GOROOT/bin:$PATH
|
2019-09-03 20:26:15 +00:00
|
|
|
|
2019-08-01 20:16:38 +00:00
|
|
|
if [[ ! $TERM =~ screen ]] || [[ ! $TMUX =~ tmux ]]; then
|
|
|
|
_byobu_sourced=1 . /usr/bin/byobu-launch 2>/dev/null || true
|
|
|
|
fi
|