I have found out that aliases can be defined, so I can do the code below. The problem I have now is that some ARGS may not exist, any ideas how I can do this?;
alias Setup ' \
if ($?ARG1) then \
if ($?ARG2) echo "Using" ARG1 \
setenv ARG3 ARG1 \
else \
if ($?ARG2) echo "Default" \
setenv ARG3 ARG4 \
endif \
set path = ( ARG5 ) \
'
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.