I did have it in bashrc and it did not help.
The other solution worked.
Thanks anyway
The Wolf
"Gorman, John" wrote:
> Also set it in your .bash_profile
>
> As a general rule .bashrc will be invoked when you spawn
> a new shell (a sub-process) and open a new x window.
>
> man bash
> When bash is invoked as an interactive login shell, or as a
> non-interactive shell with the --login option, it first
> reads and executes commands from the file /etc/profile, if
> that file exists. After reading that file, it looks for
> ~/.bash_profile, ~/.bash_login, and ~/.profile, in that
> order, and reads and executes commands from the first one
> that exists and is readable. The --noprofile option may be
> used when the shell is started to inhibit this behavior.
>
> When a login shell exits, bash reads and executes commands
> from the file ~/.bash_logout, if it exists.
>
> When an interactive shell that is not a login shell is
> started, bash reads and executes commands from ~/.bashrc, if
> that file exists. This may be inhibited by using the --norc
> option. The --rcfile file option will force bash to read
> and execute commands from file instead of ~/.bashrc.
>
> John
>
> |-----Original Message-----
> |From: The Wolf [mailto:xanadu@speedchoice.com]
> |Sent: Sunday, April 30, 2000 8:35 PM
> |To: PLUG
> |Subject: setting options in bash
> |
> |
> |Hi all
> |
> |I seem to be having problem setting options in bash.
> |
> |basically I want bash to behave like ksh with vi as a line editor
> |I am using following command:
> |$ set -o vi
> |
> |to set the vi as an editor.
> |
> |I have tried to put this in the .bashrc file but I do not
> |get the result as with the command executed from the prompt.
> |
> |Is there a way to automate the process of setting the
> |command editing without me typing it every time I log in??
> |
> |Thanks
> |
> |
> |The Wolf
> |
> |--
> |"The questions is not if we are paranoid,
> |the question is if we are paranoid enough."
> |
> |
> |
> |
> |_______________________________________________
> |Plug-discuss mailing list - Plug-discuss@lists.PLUG.phoenix.az.us
> |http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> |
>
> _______________________________________________
> Plug-discuss mailing list - Plug-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
--
"The questions is not if we are paranoid,
the question is if we are paranoid enough."