https://bugzilla.wikimedia.org/show_bug.cgi?id=49339

Antoine "hashar" Musso <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW
                 CC|                            |[email protected]

--- Comment #1 from Antoine "hashar" Musso <[email protected]> ---
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 :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to