comparison .bashrc @ 88:24f933c9d97f

add an xpcshell alias, silly ubuntu installed version is fuxored
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 27 Aug 2010 09:03:37 -0700
parents e1ec232bd0a1
children dfda4f7d4db4
comparison
equal deleted inserted replaced
87:c4126b9a185f 88:24f933c9d97f
17 17
18 # variables 18 # variables
19 export CLICOLOR=1 19 export CLICOLOR=1
20 export EDITOR='emacs -nw' 20 export EDITOR='emacs -nw'
21 export MOZCONFIG=~/mozilla/mozconfig 21 export MOZCONFIG=~/mozilla/mozconfig
22 export MOZSOURCE=~/mozilla/src/mozilla-central
23 export MOZOBJ=~/mozilla/src/obj-browser
22 export JS_EDITLINE=1 24 export JS_EDITLINE=1
23 25
24 # aliases 26 # aliases
25 alias ls='ls --color=auto' 27 alias ls='ls --color=auto'
26 alias grep='grep --colour=auto' 28 alias grep='grep --colour=auto'
29 alias zfilt='grep -v "eprecat" | grep -v "ERROR Zope"' 31 alias zfilt='grep -v "eprecat" | grep -v "ERROR Zope"'
30 alias svnst='svn st | grep -v "^\?"' 32 alias svnst='svn st | grep -v "^\?"'
31 alias awd="python -c 'import os; print os.path.realpath(\".\")'" 33 alias awd="python -c 'import os; print os.path.realpath(\".\")'"
32 alias distribute='python setup.py egg_info -RDb "" sdist register upload' 34 alias distribute='python setup.py egg_info -RDb "" sdist register upload'
33 alias random="python -c 'import sys, random; foo = sys.argv[1:]; random.shuffle(foo); print \" \".join(foo)'" 35 alias random="python -c 'import sys, random; foo = sys.argv[1:]; random.shuffle(foo); print \" \".join(foo)'"
36 alias xpcshell="LD_LIBRARY_PATH=${MOZOBJ}/dist/bin ${MOZOBJ}/dist/bin/xpcshell"
34 37
35 # PROMPT 38 # PROMPT
36 PS1='> ' 39 PS1='> '
37 PS2='. ' 40 PS2='. '
38 PROMPT_COMMAND='echo -ne "\033]0;${SSH_CLIENT/*/$HOSTNAME:}${PWD/~/~}\007"' 41 PROMPT_COMMAND='echo -ne "\033]0;${SSH_CLIENT/*/$HOSTNAME:}${PWD/~/~}\007"'