added shorthand command to DAMASK_ROOT directory

This commit is contained in:
Philip Eisenlohr 2017-01-24 09:39:24 -05:00
parent 4dc5f4e773
commit 38471c1b82
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,9 @@ else
DAMASK_ROOT=${STAT##* } DAMASK_ROOT=${STAT##* }
fi 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 = # defining set() allows to source the same file for tcsh and bash, with and without space around =
set() { set() {
export $1$2$3 export $1$2$3