Mercurial > hg > dml-home
annotate .profile @ 84:ead9f95b0f97 dml-dockerised
back to switch
author | wolffd <wolffd.mail@googlemail.com> |
---|---|
date | Mon, 04 Jun 2018 18:36:28 +0100 |
parents | 2ffa4d7c9d38 |
children |
rev | line source |
---|---|
samer@2 | 1 # ~/.profile: executed by the command interpreter for login shells. |
samer@2 | 2 # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login |
samer@2 | 3 # exists. |
samer@2 | 4 # see /usr/share/doc/bash/examples/startup-files for examples. |
samer@2 | 5 # the files are located in the bash-doc package. |
samer@2 | 6 |
samer@2 | 7 # the default umask is set in /etc/profile; for setting the umask |
samer@2 | 8 # for ssh logins, install and configure the libpam-umask package. |
samer@2 | 9 #umask 022 |
samer@2 | 10 |
samer@2 | 11 # if running bash |
samer@2 | 12 if [ -n "$BASH_VERSION" ]; then |
samer@2 | 13 # include .bashrc if it exists |
samer@2 | 14 if [ -f "$HOME/.bashrc" ]; then |
samer@2 | 15 . "$HOME/.bashrc" |
samer@2 | 16 fi |
samer@2 | 17 fi |
samer@2 | 18 |
samer@2 | 19 export EDITOR=vi |
samer@2 | 20 export LANG='en_GB.UTF-8' |
samer@2 | 21 |
samer@2 | 22 HUMDRUM_ROOT=~/src/github/humdrum-tools |
samer@2 | 23 export MATLAB_JAVA=/usr/lib/jvm/default-java/jre |
samer@2 | 24 export PATH=$PATH:$HUMDRUM_ROOT/humdrum/bin:$HUMDRUM_ROOT/humextra/bin |
samer@2 | 25 export MANPATH=$MANPATH:~/lib/humdrum/man |
samer@2 | 26 export HUMDRUM=$HUMDRUM_ROOT/humdrum |
samer@2 | 27 #TMPDIR=/tmp |
samer@2 | 28 |
samer@2 | 29 # set PATH so it includes user's private bin if it exists |
samer@2 | 30 if [ -d "$HOME/bin" ] ; then |
samer@2 | 31 PATH="$HOME/bin:$PATH" |
samer@2 | 32 fi |
samer@2 | 33 |
daniel@32 | 34 if [ -d "$HOME/.profile.d" ]; then |
daniel@32 | 35 for f in $HOME/.profile.d/*.sh; do source $f; done |
daniel@32 | 36 fi |