Mercurial > hg > config
comparison .bashrc @ 303:266d6b337373
still doesnt work but what the fuck
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Tue, 14 May 2013 16:26:44 -0700 |
| parents | ee3c1b65d6d1 |
| children | 7ed290454f50 |
comparison
equal
deleted
inserted
replaced
| 302:1a177f9b51d4 | 303:266d6b337373 |
|---|---|
| 93 # differences of a git repository with master | 93 # differences of a git repository with master |
| 94 git diff $(git merge-base HEAD master) | 94 git diff $(git merge-base HEAD master) |
| 95 } | 95 } |
| 96 | 96 |
| 97 # nice fast find function | 97 # nice fast find function |
| 98 EXCLUDES="(\.svn)|(\.mo$)|(\.po$)|(\.pyc$)" | 98 EXCLUDES="(\.svn)|(\.mo$)|(\.po$)|(\.pyc$)|(\.hg$)|(\.git$)" |
| 99 ff() { | 99 ff() { |
| 100 | 100 |
| 101 if (( $# < 2 )) | 101 if (( $# < 2 )) |
| 102 then | 102 then |
| 103 FILENAME='*' # default -- look in all files | 103 FILENAME='*' # default -- look in all files |
| 412 MENU=~/web/site/programs.html | 412 MENU=~/web/site/programs.html |
| 413 regeneratefluxmenu() { | 413 regeneratefluxmenu() { |
| 414 if [ -e $MENU ] | 414 if [ -e $MENU ] |
| 415 then | 415 then |
| 416 # XXX could be safer | 416 # XXX could be safer |
| 417 # XXX ...along with the fluxbox menu option o_O | |
| 417 html2flux.py $MENU > ~/.fluxbox/applications | 418 html2flux.py $MENU > ~/.fluxbox/applications |
| 418 fi | 419 fi |
| 419 } | 420 } |
| 420 regeneratefluxmenu | 421 regeneratefluxmenu |
