#!/bin/csh -f

if (.$1. == ..) then
   set DIR=$cwd
else
   set DIR=$1
endif


if (-f $DIR/.alex.dir) then
    /bin/cat $DIR/.alex.dir
else
    if (-f .alex.dir) then
        /bin/cat .alex.dir | grep -i $1
    else 
        /bin/ls -als $DIR
    endif
endif


