dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 632bad68240228f04694ada353f4d81d52614b3e
parent d622733df2d4b215a3deb736c5d4f1f36196f089
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed, 20 May 2020 13:42:01 +0200

Source grendel module script if present

Diffstat:
M.profile | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/.profile b/.profile @@ -163,9 +163,19 @@ addtopath() { done } +sourcepath() { + for p in "$@"; do + if [ -f "$p" ]; then + . "$p" + fi + done +} + addtopath /usr/local/cuda/bin /usr/local/gcc-8.3.0/bin addtopath ~/code/pism-stable-install/bin addtopath ~/.local/bin +sourcepath /com/Modules/default/init/sh + ENV=$HOME/.kshrc export PATH HOME TERM ENV MANPATH