removing *all* mirrors?
snowcrash+smart
schneecrash+smart at gmail.com
Mon Dec 11 12:47:24 PST 2006
> Did you mess up the shell variable EDITOR with the environment
> variable EDITOR? Only the environment is inherited by the childs
> of your shell.
/me blinks.
slowly.
/me blinks again.
> Yet another chapter of the book 'Shooting Yourself in the Foot' :-)
/me runs for the band-aids ...
well, the answer to your question, is "apparently, yes!" :-{
checking here,
/root# echo $EDITOR
EDITOR: Undefined variable.
/root# set EDITOR = joe
/root# echo $EDITOR
joe
/root# setenv EDITOR vim
/root# echo $EDITOR
joe
/root# env|grep EDITOR
EDITOR=vim
/root# set|grep EDITOR
EDITOR joe
_ env|grep EDITOR
/root# smart channel --edit
(OPENS in 'vim')
/root# setenv EDITOR joe
/root# env|grep EDITOR
EDITOR=joe
/root# smart channel --edit
(OPENS in 'joe')
aha.
so, i,
/root# echo "setenv EDITOR joe" > ~/.cshrc
/root# cat ~/.cshrc
setenv EDITOR joe
/root# exit
(re-login)
/root# env|grep EDITOR
EDITOR=joe
/root# smart channel --edit
(OPENS in 'joe')
finally!
THANK YOU!
More information about the Smart
mailing list