Tried the suggestions from Tim and Tony, but to no avail:
$ echo $PATH
/lhome/me/tools/bin:/lhome/me/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/cuda/bin:/usr/local/cuda/bin:/opt/rocm/bin:/lhome/me/g/bin
$ alias vi
bash: alias: vi: not found
$ cd
$ find . -maxdepth 1 -type f |xargs grep alias | grep vi
<no output>
$ type -a vi
vi is /lhome/me/tools/bin/vi
vi is /usr/bin/vi
$ ll /lhome/me/tools/bin/vi
lrwxrwxrwx 1 hidden hidden 28 Jul 31 19:18 /lhome/me/tools/bin/vi
-> /lhome/me/tools/bin/vim*
$ ll /lhome/me/tools/bin/vim
-rwxr-xr-x 1 hidden hidden 2723248 Jul 31 18:53
/lhome/me/tools/bin/vim*
$ ll /usr/bin/vi
lrwxrwxrwx 1 root root 20 Jun 16 2017 /usr/bin/vi ->
/etc/alternatives/vi*
$ ll /etc/alternatives/vi
lrwxrwxrwx 1 root root 17 Jun 21 2017 /etc/alternatives/vi ->
/usr/bin/vim.gtk3*
$ ll /usr/bin/vim.gtk3
-rwxr-xr-x 1 root root 2927872 Nov 24 2016 /usr/bin/vim.gtk3*
$ which vi
/lhome/me/tools/bin/vi
Still `vi --version` shows the old version (and `vim --version`
shows the latest version)
--
--
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