vim do not guess $HOME when unavailable
Bram Moolenaar
Bram at moolenaar.net
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 :
>
> http://bugs.debian.org/349465
>
> 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 Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://www.ICCF.nl ///
More information about the pkg-vim-maintainers
mailing list