comparison .bashrc @ 418:dad9f18da036

changes
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 05 Aug 2013 14:20:53 -0700
parents daa85a7909d8
children 9ff867053191
comparison
equal deleted inserted replaced
417:32b202653753 418:dad9f18da036
39 alias currentpatch='echo `hg root`/.hg/patches/`hg qapp -v | head -n 1 | cut -f 3 -d " "`' 39 alias currentpatch='echo `hg root`/.hg/patches/`hg qapp -v | head -n 1 | cut -f 3 -d " "`'
40 alias datestamp='date +%Y%m%d%H%M%S' 40 alias datestamp='date +%Y%m%d%H%M%S'
41 alias distribute='python setup.py egg_info -RDb "" sdist register upload' 41 alias distribute='python setup.py egg_info -RDb "" sdist register upload'
42 alias grep='grep --colour=auto' 42 alias grep='grep --colour=auto'
43 alias ls='ls --color=auto' 43 alias ls='ls --color=auto'
44 alias maze='python <(curl https://raw.github.com/joewing/maze/master/maze.py)'
44 alias patch='patch --reject-file=-' 45 alias patch='patch --reject-file=-'
45 alias random="python -c 'import sys, random; foo = sys.argv[1:]; random.shuffle(foo); print \" \".join(foo)'" 46 alias random="python -c 'import sys, random; foo = sys.argv[1:]; random.shuffle(foo); print \" \".join(foo)'"
46 alias weekstamp="date --date=\"$((`date '+%u'`-1)) days ago\" '+%b %d'" 47 alias weekstamp="date --date=\"$((`date '+%u'`-1)) days ago\" '+%b %d'"
47 alias wget='wget --no-check-certificate' 48 alias wget='wget --no-check-certificate'
48 alias xpcshell="LD_LIBRARY_PATH=${MOZOBJ}/dist/bin ${MOZOBJ}/dist/bin/xpcshell" 49 alias xpcshell="LD_LIBRARY_PATH=${MOZOBJ}/dist/bin ${MOZOBJ}/dist/bin/xpcshell"
146 CLR_YELLOWBOLD="\033[1;33m" 147 CLR_YELLOWBOLD="\033[1;33m"
147 CLR_NOTHING="\033[0m" 148 CLR_NOTHING="\033[0m"
148 } 149 }
149 colors 150 colors
150 151
152
151 eend() { 153 eend() {
152 # edit the end of a file with emacs 154 # edit the end of a file with emacs
153 FILE=$1 155 FILE=$1
154 shift 156 shift
155 emacs +`wc -l "$FILE"` $@ 157 emacs +`wc -l "$FILE"` $@