Folks,
I have added this commend to my .cshrc and it works fine:
if( -fx /usr/pkg/bin/vim ) then
alias vi vim
setenv EDITOR vim
else
setenv EDITOR vi
endif
I have added it to root's .cshrc. When I use su to become root with
this commend "sudo su - root -c tcsh", I get this error:
if: Malformed file inquiry.
Any thoughts?
Sam