If you use the bash shell, the command "type -a vi" (without the
quotes) will tell you every alias and every executable in the $PATH
with the name "vi", and it will display them in the order in which the
shell loks for them.
If there is an alias for "vi", you can remove it with
unalias vi
then the symlink you already have ought to become the first "vi" that
bash finds, and it loads your new home-compiled vim.
Best regards,
Tony.
On Wed, Aug 1, 2018 at 4:23 AM, Tim Chase <vim@tim.thechases.com> wrote:
> On 2018-07-31 19:20, 'Suresh Govindachar' via vim_use wrote:
>> Why is the old vi being executed even though `which vi` shows the
>> newer one? And how to get vi to execute the newly installed vim?
>
> Have you checked for an alias? Possibly something like
>
> $ alias vi
> alias vi='/usr/bin/vi'
>
> Also, what's your $PATH?
>
> $ echo $PATH
>
> -tim
>
>
>
> --
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tuesday, July 31, 2018
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment