removing *all* mirrors?
    Holger Schmidt 
    schmidth at t-online.de
       
    Mon Dec 11 12:23:59 PST 2006
    
    
  
> /root# setenv EDITOR /usr/bin/joe
> /root# echo $EDITOR
>  /usr/bin/joe
> /root# smart channel --edit
> 
> OPENS IN "joe"
> 
> /root# unsetenv EDITOR
> /root# echo $EDITOR
>  /usr/bin/joe
> /root# smart channel --edit
> 
> OPENS IN "vi"
> 
> ???
Did you mess up the shell variable EDITOR with the environment
variable EDITOR? Only the environment is inherited by the childs
of your shell.
~> tcsh
~> set EDITOR = xemacs
~> echo $EDITOR
xemacs
~> setenv EDITOR vim
~> echo $EDITOR
xemacs
~> env|grep EDITOR
EDITOR=vim
~> set|grep EDITOR
EDITOR  xemacs
Yet another chapter of the book 'Shooting Yourself in the Foot' :-)
Regards,
Holger
    
    
More information about the Smart
mailing list