removing *all* mirrors?
snowcrash+smart
schneecrash+smart at gmail.com
Mon Dec 11 09:56:05 PST 2006
> Unless you are using csh or tcsh (which I doubt),
well, on this ONE thing, you're NOT correct ;-D
i am old. i use tcsh.
/root# whoami
root
/root# echo $0
-tcsh
> Try this:
> export EDITOR=joe
> smart channel --edit
which, of course, in tcsh is,
setenv EDITOR /usr/bin/joe
smart channel --edit
( ... working ... )
huh? ok. more confused.
(login via ssh ...)
/root# echo $EDITOR
/usr/bin/joe
/root# smart channel --edit
OPENS IN "vi"
/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"
???
this does NOT behave this way on osx. there, settings in
.tcshrc/.cshrc are honored without fail.
again, ???
> Using $EDITOR is very common, IMO that's sufficient.
as long as it works :-)
thanks.
More information about the Smart
mailing list