From 38471c1b82cb1ffa034f40f6ff7f8ea878482a01 Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Tue, 24 Jan 2017 09:39:24 -0500 Subject: [PATCH] added shorthand command to DAMASK_ROOT directory --- DAMASK_env.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DAMASK_env.sh b/DAMASK_env.sh index e45e16d42..fa3171c48 100644 --- a/DAMASK_env.sh +++ b/DAMASK_env.sh @@ -10,6 +10,9 @@ else DAMASK_ROOT=${STAT##* } fi +# shorthand command to change to DAMASK_ROOT directory +eval "function damask() { cd $DAMASK_ROOT; }" + # defining set() allows to source the same file for tcsh and bash, with and without space around = set() { export $1$2$3