[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: $EDITOR



demartino vittorio grtn it wrote:
> 
> I use the command edquota to set the quota of a user. According to the
> instructions edquota calls the editor vi (which I don't like) by default
> unless another editor is specified in the $EDITOR variable.
> In what file can I find that variable in order to modify it in pico instead
> of vi?

what shell are you using?
try 'echo $SHELL'

for bash/ksh, set it with 'export EDITOR=emacs'
for tcsh/csh, set it with 'setenv EDITOR emacs'

to make it automatic, edit .cshrc or .tcshrc for csh or tcsh
and add that command. For bash edit ~/.bash_profile
and use the export line instead.

	-Thomas





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]