aboutsummaryrefslogtreecommitdiffstats
path: root/.tcsh/heainit.csh
diff options
context:
space:
mode:
Diffstat (limited to '.tcsh/heainit.csh')
-rw-r--r--.tcsh/heainit.csh15
1 files changed, 15 insertions, 0 deletions
diff --git a/.tcsh/heainit.csh b/.tcsh/heainit.csh
new file mode 100644
index 0000000..c1a8a04
--- /dev/null
+++ b/.tcsh/heainit.csh
@@ -0,0 +1,15 @@
+#!/bin/csh
+#
+# HEASOFT settings
+#
+unset printexitvalue
+
+set HEA_STATE=`echo $PATH | tr ':' '\n' | grep 'heasoft'`
+if ( "x${HEA_STATE}" == "x" ) then
+ source $HEADAS/headas-init.csh
+endif
+unset HEA_STATE
+# set HEA_LDLIB="`echo $LD_LIBRARY_PATH | tr ':' '\n' | grep 'heasoft' | head -n 1`"
+
+exit 0
+