Can anyone explain this?
$ vim --version
VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Jul 12 2010 12:47:31)
$ `which vim` --version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Oct 13 2011 22:52:17)
I just compiled the latest version of vim and installed it to $HOME/bin, which is the first path in $PATH. which vim returns the correct path: /home/user/bin/vim, however, when I execute vim it launches /usr/bin/vim.
I launched another xterm and the problem has disappeared, however I am still curious as to how the previous term got into such a weird state. Any ideas?