aboutsummaryrefslogtreecommitdiff
path: root/unix/hlib/setup.sh
blob: fc96eeb61fd793b8e3723995ed210d975db2981e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

# Allow a previously defined $iraf to be used.
if [ -n $iraf ]; then
    export iraf=/iraf/iraf/
fi

# Allow a previously defined $IRAFARCH to be used.
if [ -n $IRAFARCH ]; then
    export IRAFARCH=`$iraf/unix/hlib/irafarch.sh -actual`
fi
source $iraf/unix/hlib/irafuser.sh

export PATH=$HOME/.iraf/bin:${PATH}

# The world'd most obvious alias ....
alias iraf="xgterm -e cl &"