This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Assuming your workspace is called "workspace" and at the root of your virtualenv | |
# In $WORKON_HOME/postactivate | |
############################### | |
export PREACTIVATE_PYTHONPATH=$PYTHONPATH | |
for f in $VIRTUAL_ENV/workspace/* | |
do | |
export PYTHONPATH=$PYTHONPATH:$f | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# grep current directory recursively for foo | |
# case-insensitive | |
# ignore binary files | |
# show line numbers | |
# ignore svn cruft | |
# force color | |
grep -rIin --color=force foo . | grep -v svn |
NewerOlder