Last modified: 2014-09-02 05:26:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T51339, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49339 - Just get rid of creepy default vimrc
Just get rid of creepy default vimrc
Status: NEW
Product: Wikimedia Labs
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: High minor
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-08 16:37 UTC by Peter Bena
Modified: 2014-09-02 05:26 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Peter Bena 2013-06-08 16:37:21 UTC
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
Comment 1 Antoine "hashar" Musso (WMF) 2013-06-11 18:46:24 UTC
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 :)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links