ghe@jacobs.cs.orst.edu (Another 481 student) (01/17/89)
The following is part of my .cshrc file. But when I say 'cd dir_name', it comes back saying 'cwd: command not found'. But if I say 'cwd dir_name', it works fine. Can you see any problem here? I am on a BSD4.3 system. I have these aliases work perfect on other BSD4.3 machine and SysV machine. if ( $?prompt ) then # # aliases # alias cwd 'chdir \!*; set DS[3]=$DS[2]; set DS[2]=$DS[1]; set DS[1]=`pwd`' alias bd 'cwd $DS[2]; setprompt; sd' alias bbd 'cwd $DS[3]; setprompt; sd' alias cd 'cwd \!*; setprompt; sd' alias setprompt 'set prompt = "jacobs"\["$DS[1]:t"\]%\ ' alias sd 'echo $DS' endif - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - USMAIL: Guangliang He * INTERNET: ghe@PHYSICS.ORST.EDU Department of Physics * ghe@jacobs.CS.ORST.EDU Oregon State University *