aboutsummaryrefslogtreecommitdiff
path: root/unix/hlib/setup.csh
diff options
context:
space:
mode:
Diffstat (limited to 'unix/hlib/setup.csh')
-rwxr-xr-xunix/hlib/setup.csh21
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
+