Skip to content

Commit

Permalink
depyc is a bit smarter
Browse files Browse the repository at this point in the history
  • Loading branch information
ambv committed May 10, 2011
1 parent 03bbc12 commit 4158af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion profile_common
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ alias die='logout'
alias jloc='let "a = 0"; for num in `find . -iname "*.java" | xargs -I {} wc -l {} | cut -d. -f1 | tr -d " "`; do let "a = a + num"; done; echo $a;'
alias loc='let "a = 0"; for num in `find . -iname "*.py" | xargs -I {} wc -l {} | cut -d. -f1 | tr -d " "`; do let "a = a + num"; done; echo $a;'
alias todo-list="ack --column -w \"\\W(TODO|FIXME|REMEMBER|WEDNESDAY|XXX|BUG|WTF|OMF?G|pdb\\.set_trace)\\W{1}\""
alias depyc='find . -iname "*.pyc" -print -exec rm {} \;'
alias depyc='find . -iname "*.pyc" -print -exec rm {} \; && find . -iname "*.orig" -print -exec rm {} \;'

# Django
alias djrun='python -Wd manage.py runserver'
Expand Down

0 comments on commit 4158af9

Please sign in to comment.