aboutsummaryrefslogtreecommitdiffstats
path: root/.tcsh/heainit.csh
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-06-21 22:44:06 +0800
committerWeitian LI <liweitianux@gmail.com>2014-06-21 22:44:06 +0800
commit886eab400e2883b9424243b72af3002896781e02 (patch)
treef730ba706478a1e8fcafcefc8b7c1f5f4b4d57e2 /.tcsh/heainit.csh
parentb35be1d080b8abcbe989dc2687d61b4b2d450099 (diff)
downloaddotfiles-886eab400e2883b9424243b72af3002896781e02.tar.bz2
Updated & Added configuration files.
Added: * .calendar (BSD calendar) * .config/openbox/ * .config/tint2/ * .rtorrent.rc * .screenrc * .tcsh/, .tcshrc, .tcshrc.local Updated: * .gitignore * .lftp/rc * .tmux.conf
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
+