.tcshrc error and setting env. variables
Hello
i am using the tcsh shell and want to define my env variables in a .tcshrc file that i ve generated under my user directory (/home/user) when i login to my user, i get the following error: .tcshrc: Command not found. setenv: Syntax Error. additionally, when i run the env command, i cannot see any of the paths i defined in my .tcshrc file i would be happy if you can help me on this issue my tcshrc file is as follows: ".tcshrc" 46 lines, 1423 characters #@(#)local.profile 1.8 05/07/15 SMI stty istrip setenv PATH=/usr/bin:/usr/sfw/bin:/usr/local/ncarg/bin:/sbin:/usr/local/bin:/usr/local/sbin:/opt/intel_fc_80/include:/opt/intel_fc_80/bin/:/opt/intel_cc_80/bin/:/opt/intel_cc_80/include:/home/photochemical/MM5V3/RIP:/opt/pgi/linux86/6.2/bin:$PATH source /opt/intel_fc_80/bin/ifortvars.csh source /opt/intel_cc_80/bin/iccvars.csh setenv MANPATH=/usr/dt/man:/usr/local/ncarg/man:/usr/man:/usr/local/man:/opt/intel_fc_80/man:/opt/intel_cc_80/man:/opt/pgi/linux86/6.2/man:$MANPATH setenv NCARG_ROOT=/usr/local/ncarg:$NCARG_ROOT setenv NCARG_BIN=/usr/local/ncarg/bin:$NCARG_BIN setenv NCARG_LIB=/usr/local/ncarg/lib:$NCARG_LIB setenv NCARG_INCLUDE=/usr/local/ncarg/include:$NCARG_INCLUDE setenv RIP_ROOT=/usr/local/MM5V3/RIP:$RIP_ROOT export DISPLAY="193.140.202.30:0.0" setenv PATH=/opt/pgi/linux86/6.2/bin:$PATH setenv MANPATH=/opt/pgi/linux86/6.2/man:$MANPATH setenv LM_LICENSE_FILE=/opt/pgi/license.dat:$LM_LICENSE_FILE thanks in advance Ulas |
The syntax of setenv (and set) doesn't use an equal character between the variable name and value, e.g.
Code:
setenv PATH "/opt/pgi/linux86/6.2/bin:$PATH" |
All times are GMT -5. The time now is 11:53 AM. |