92 lines
2.4 KiB
Bash
92 lines
2.4 KiB
Bash
# environment variables
|
|
export TZ="Asia/Manila"
|
|
export PATH="/usr/local/bin:$PATH"
|
|
export PATH="$HOME/bin:$PATH"
|
|
export PATH="$HOME/.crypt/bin:$PATH"
|
|
|
|
# set your umask
|
|
# group readonly
|
|
# others no read access
|
|
umask 026
|
|
|
|
# effectively unlimited history
|
|
export HISTSIZE=10000000
|
|
|
|
# default profile-specific settings
|
|
PROFILE_ENABLE_KUBECTL=y
|
|
|
|
# firefox hardware acceleration
|
|
export MOZ_USE_OMTC=1
|
|
export MOZ_ACCELERATED=1
|
|
export MOZ_WEBRENDER=
|
|
|
|
# Preferred editor
|
|
export VISUAL="vim"
|
|
export EDITOR="vim"
|
|
export THOR_MERGE="meld"
|
|
export PAGER="less -r"
|
|
|
|
# source local variables
|
|
# will override any variables defined above
|
|
[ -f "$HOME/.profile-local" ] && source "$HOME/.profile-local"
|
|
[ -f "$HOME/.profile-private" ] && source "$HOME/.profile-private"
|
|
# end preferences - switched controls below
|
|
|
|
|
|
# gtk options
|
|
# enable "command pallete"
|
|
# export GTK3_MODULES="/usr/lib/x86_64-linux-gnu/libplotinus/libplotinus.so:$GTK3_MODULES"
|
|
|
|
# Ubuntu make installation of Ubuntu Make binary symlink
|
|
export PATH="$HOME/.local/share/umake/bin:$PATH"
|
|
|
|
# C compiler options
|
|
export CPATH="$HOME/include:$CPATH"
|
|
export LIBRARY_PATH="$HOME/lib:$LIBRARY_PATH"
|
|
export LD_LIBRARY_PATH="$HOME/lib:$LD_LIBRARY_PATH"
|
|
|
|
# composer
|
|
export PATH="$HOME/.composer/vendor/bin:$PATH"
|
|
|
|
# phpenv
|
|
if [ -z "$PHPENV_DISABLE" ]; then
|
|
export PATH="$HOME/.phpenv/bin:$PATH"
|
|
eval "$(phpenv init -)"
|
|
|
|
# php-build
|
|
export PHP_BUILD_CONFIGURE_OPTS="--with-pear --with-ldap=/usr --with-ldap-sasl=/usr --with-mhash=/usr --with-mysql-sock=/run/mysqld/mysqld.sock"
|
|
export PHP_BUILD_KEEP_OBJECT_FILES=y
|
|
fi
|
|
|
|
# rbenv
|
|
if [ -z "$RBENV_DISABLE" ]; then
|
|
export PATH="$HOME/.rbenv/bin:$PATH"
|
|
eval "$(rbenv init -)"
|
|
fi
|
|
|
|
# jenv
|
|
if [ -z "$JENV_DISABLE" ]; then
|
|
export PATH="$HOME/.jenv/bin:$PATH"
|
|
eval "$(jenv init -)"
|
|
fi
|
|
|
|
# nenv
|
|
if [ -z "$NENV_DISABLE" ]; then
|
|
export PATH="$HOME/.nenv/bin:$PATH"
|
|
eval "$(nenv init -)"
|
|
fi
|
|
|
|
# pyenv
|
|
if [ -z "$PYENV_DISABLE" ]; then
|
|
export PATH="$HOME/.pyenv/bin:$PATH"
|
|
export PIPENV_VENV_IN_PROJECT=1
|
|
eval "$(pyenv init -)"
|
|
fi
|
|
|
|
# perl
|
|
export PATH="/home/madumlao/perl5/bin${PATH:+:${PATH}}"; export PATH;
|
|
export PERL5LIB="/home/madumlao/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
|
|
export PERL_LOCAL_LIB_ROOT="/home/madumlao/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
|
|
export PERL_MB_OPT="--install_base \"/home/madumlao/perl5\""; export PERL_MB_OPT;
|
|
export PERL_MM_OPT="INSTALL_BASE=/home/madumlao/perl5"; export PERL_MM_OPT;
|