diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /unix/hlib/setup.csh | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'unix/hlib/setup.csh')
-rwxr-xr-x | unix/hlib/setup.csh | 21 |
1 files changed, 21 insertions, 0 deletions
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 + |