Tuesday, September 20, 2011

Re: setttings where all users home directories are set to HOME

In reply to ``setttings where all users home directories are set to HOME''
sent 21 September 2011, Wednesday by Lacis, Alf

You can try to use `$USER' in this case (assuming you are on *nix): from
normal vimrc do

source ~/.$USER-vimrc
and put user-specific settings into `$HOME/.$USER-vimrc' file. You can, of
course, create an alias: `alias vim="vim -u ~/.$USER-vimrc"'.

Original text:
> Hi,
>
> At a customer site, all users home dirs are set to the same $HOME.
>
> How do I have a unique settings file? Can I specify a personal settings
> file on the command line?
>
> Alf
>
> Think green - keep it on the screen.
>
> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be copied,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you.

No comments: