Confirmed users
3,990
edits
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
These are the steps I will follow every time to set up my working environment: | These are the steps I will follow every time to set up my working environment: | ||
== Tools == | |||
* http://cssh.sourceforge.net/ | |||
== MacOSX == | == MacOSX == | ||
Line 6: | Line 8: | ||
* get Remote Desktop for Windows | * get Remote Desktop for Windows | ||
* get iTerm | * get iTerm | ||
* get MacPorts | * get [http://www.macports.org/install.php MacPorts] | ||
* | ** sudo port install mercurial libidl autoconf213 | ||
** sudo port install wget | |||
* get [http://downloads.vmware.com/d/info/desktop_downloads/vmware_fusion_for_the_mac/2_0 VMWare Fusion 2] (VMware-Fusion-2.0.6-196839) | |||
* Most info extracted from this page: [https://developer.mozilla.org/en/Mac_OS_X_Build_Prerequisites Mac OS X Build Prerequisites] | |||
== Linux == | == Linux == | ||
Line 34: | Line 39: | ||
* [https://wiki.mozilla.org/User:Armenzg:scripts#Install_python.2C_zope_and_buildbot Install python, buildbot, twisted and zope interface] | * [https://wiki.mozilla.org/User:Armenzg:scripts#Install_python.2C_zope_and_buildbot Install python, buildbot, twisted and zope interface] | ||
=== . | == Configuration Files == | ||
=== .profile or .bash_profile === | |||
# Give colours to your bash | |||
export CLICOLOR=1 | |||
export LSCOLORS=ExFxCxDxBxegedabagacad | |||
export PATH=$PATH:~/moz/scripts | |||
export PYTHONPATH=$PYTHONPATH:~/moz/repos/hghooks:~/moz/repos | |||
alias bb='buildbot' | |||
alias bbs='buildbot start' | |||
alias bbS='buildbot stop' | |||
alias bbr='buildbot reconfig' | |||
alias bbR='buildbot restart' | |||
alias bbc='buildbot checkconfig' | |||
alias cx='csshX' | |||
alias autoconf='autoconf-2.13' | |||
alias watch_for='cat ~/moz/notes/watch_for' | |||
=== .hgrc === | === .hgrc === | ||
=== . | |||
[ui] | |||
username = Armen Zambrano Gasparnian <armenzg@mozilla.com> | |||
merge = diff | |||
[diff] | |||
git = 1 | |||
[defaults] | |||
diff=-p -U 8 | |||
qdiff=-p -U 8 | |||
[web] | |||
config = /var/hg/hgweb.config | |||
[extensions] | |||
hgext.graphlog = | |||
hgext.mq = | |||
#qup = /Users/armenzg/moz/scripts/qup.py | |||
#qimportbz = /Users/armenzg/moz/repos/hgextensions/qimportbz | |||
#[qimportbz] | |||
#bugzilla = $BUGZILLA if set else bugzilla.mozilla.org | |||
#patch_format = bug-%%(bugnum)s | |||
#msg_format = Bug %%(bugnum)s - "%%(title)s" [%%(flags)s] | |||
=== .vimrc === | |||
syn on | |||
set number | |||
set expandtab | |||
set sts=4 | |||
set sw=4 | |||
set et | |||
" Only do this part when compiled with support for autocommands | |||
if has("autocmd") | |||
" In text files, always limit the width of text to 78 characters | |||
autocmd BufRead *.txt set tw=78 | |||
" When editing a file, always jump to the last cursor position | |||
autocmd BufReadPost * | |||
\ if line("'\"") > 0 && line ("'\"") <= line("$") | | |||
\ exe "normal! g'\"" | | |||
\ endif | |||
endif |