comparison .bashrc @ 379:61a3c07e9f7a

kill reject files
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 25 Jul 2013 03:36:24 -0700
parents 8161806daa20
children ffa08f0de165
comparison
equal deleted inserted replaced
378:0e99d3a68066 379:61a3c07e9f7a
1 #!/bin/bash 1 #!/bin/bash
2
2 ### bash rc file ### 3 ### bash rc file ###
3 4
4 # so 5 # source the profile, if it exists
5 PROFILE=/etc/profile 6 PROFILE=/etc/profile
6 if [ -e "${PROFILE}" ] 7 if [ -e "${PROFILE}" ]
7 then 8 then
8 . "${PROFILE}" 9 . "${PROFILE}"
9 fi 10 fi
38 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 " "`'
39 alias datestamp='date +%Y%m%d%H%M%S' 40 alias datestamp='date +%Y%m%d%H%M%S'
40 alias distribute='python setup.py egg_info -RDb "" sdist register upload' 41 alias distribute='python setup.py egg_info -RDb "" sdist register upload'
41 alias grep='grep --colour=auto' 42 alias grep='grep --colour=auto'
42 alias ls='ls --color=auto' 43 alias ls='ls --color=auto'
44 alias patch='patch --reject-file=-'
43 alias random="python -c 'import sys, random; foo = sys.argv[1:]; random.shuffle(foo); print \" \".join(foo)'" 45 alias random="python -c 'import sys, random; foo = sys.argv[1:]; random.shuffle(foo); print \" \".join(foo)'"
44 alias weekstamp="date --date=\"$((`date '+%u'`-1)) days ago\" '+%b %d'" 46 alias weekstamp="date --date=\"$((`date '+%u'`-1)) days ago\" '+%b %d'"
45 alias wget='wget --no-check-certificate' 47 alias wget='wget --no-check-certificate'
46 alias xpcshell="LD_LIBRARY_PATH=${MOZOBJ}/dist/bin ${MOZOBJ}/dist/bin/xpcshell" 48 alias xpcshell="LD_LIBRARY_PATH=${MOZOBJ}/dist/bin ${MOZOBJ}/dist/bin/xpcshell"
47 49