samer@2: # ~/.profile: executed by the command interpreter for login shells. samer@2: # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login samer@2: # exists. samer@2: # see /usr/share/doc/bash/examples/startup-files for examples. samer@2: # the files are located in the bash-doc package. samer@2: samer@2: # the default umask is set in /etc/profile; for setting the umask samer@2: # for ssh logins, install and configure the libpam-umask package. samer@2: #umask 022 samer@2: samer@2: # if running bash samer@2: if [ -n "$BASH_VERSION" ]; then samer@2: # include .bashrc if it exists samer@2: if [ -f "$HOME/.bashrc" ]; then samer@2: . "$HOME/.bashrc" samer@2: fi samer@2: fi samer@2: samer@2: export EDITOR=vi samer@2: export LANG='en_GB.UTF-8' samer@2: samer@2: HUMDRUM_ROOT=~/src/github/humdrum-tools samer@2: export MATLAB_JAVA=/usr/lib/jvm/default-java/jre samer@2: export PATH=$PATH:$HUMDRUM_ROOT/humdrum/bin:$HUMDRUM_ROOT/humextra/bin samer@2: export MANPATH=$MANPATH:~/lib/humdrum/man samer@2: export HUMDRUM=$HUMDRUM_ROOT/humdrum samer@2: #TMPDIR=/tmp samer@2: samer@2: # set PATH so it includes user's private bin if it exists samer@2: if [ -d "$HOME/bin" ] ; then samer@2: PATH="$HOME/bin:$PATH" samer@2: fi samer@2: daniel@32: if [ -d "$HOME/.profile.d" ]; then daniel@32: for f in $HOME/.profile.d/*.sh; do source $f; done daniel@32: fi