vim do not guess $HOME when unavailable

Bram Moolenaar Bram at
Mon Jan 23 09:32:23 UTC 2006

Pierre Habouzit wrote:

> One of our users reported that with HOME unset vim does not find the 
> users vimrc, because it only uses $HOME to find the vimrc :
> Is this intended (and if yes why) ? or shouldn't it use getpwuid to find 
> the information ?

Vim only uses $HOME, so that you can specify what home directory to use.
So far I haven't seen a reason to do otherwise.  Not having $HOME set is
likely to cause trouble.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

 /// Bram Moolenaar -- Bram at --   \\\
///        sponsor Vim, vote for features -- \\\
\\\        download, build and distribute --        ///
 \\\            help me help AIDS victims --         ///

More information about the pkg-vim-maintainers mailing list