Page MenuHomePhabricator

Just get rid of creepy default vimrc
Closed, ResolvedPublic

Description

Please make vim configuration /by default/ the real default of ubuntu,
and not that creepy wmf version. I figured out it's nearly impossible
to turn it off or override (it's possible but for example with sudo or
using service accounts it won't work, unless I upload my override to
all user accounts I use on all projects).

Why don't you make this wmf version as option for people who really
want to use it?

Instead of forcing everyone to use it


Version: unspecified
Severity: minor

Details

Reference
bz49339

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:01 AM
bzimport set Reference to bz49339.
bzimport added a subscriber: Unknown Object (MLST).

As a workaround, I have replied to Petan on labs-l

http://lists.wikimedia.org/pipermail/labs-l/2013-June/001297.html

Copy of my reply:

I have my configuration files in a Github project nicknamed 'alix':
https://github.com/hashar/alix

Whenever I join a new project I would fetch it under /home/hashar/alix
then edit my .bashrc:

$ cat .bashrc
. /home/hashar/alix/bashrc
umask 0002

And my .vimrc:

source $ALIX_DIR/vimrc
"source /home/hashar/alix/vimrc

Where ALIX_DIR is set by bash using dirname:

export ALIX_DIR=$(dirname $BASH_SOURCE)

If I ever need to switch to root, I will sudo -s which keep the
current user environment such as $HOME which then let vim and bash load
MY dotfiles :)

yuvipanda claimed this task.
yuvipanda subscribed.

I see it on really old instances now, but don't think this is set by default anymore.