From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- unix/hlib/setup.csh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 unix/hlib/setup.csh (limited to 'unix/hlib/setup.csh') diff --git a/unix/hlib/setup.csh b/unix/hlib/setup.csh new file mode 100755 index 00000000..6a826c75 --- /dev/null +++ b/unix/hlib/setup.csh @@ -0,0 +1,21 @@ +#!/bin/csh -f + +# Allow a previously defined $iraf to be used. +if ( ! ( $?iraf )) then + setenv iraf /iraf/iraf/ +endif + +# Allow a previously defined $IRAFARCH to be used. +if ( ! ( $?IRAFARCH )) then + setenv IRAFARCH `$iraf/unix/hlib/irafarch.csh -actual` +endif +source $iraf/unix/hlib/irafuser.csh + +set path = ($FAKEHOME/bin $path) +set cdpath = ($iraf $iraf/pkg $iraf/noao $iraf/sys $iraf/unix $iraf/unix/boot) + +# The world'd most obvious alias .... +alias iraf "xgterm -e cl &" + +rehash + -- cgit