Commits

Doug Hellmann committed 511994f

run global postactivatehook before local; move release not to the correct version

Comments (0)

Files changed (2)

 
 1.11
   - Optimize virtualenvwrapper_show_workon_options.
-  - 
+  - Add global postactivate hook.
 
 1.10
   - Pull in fix for colorized ls from Jeff Forcier (b42a25f7b74a).
-  - Add global postactivate hook.
 
 1.9
   - Add more hooks for operations to run before and after creating or deleting environments based on changes from Chris Hasenpflug.

virtualenvwrapper_bashrc

     
     source "$activate"
     
-    virtualenvwrapper_source_hook "$VIRTUAL_ENV/bin/postactivate"
-    
     virtualenvwrapper_source_hook "$WORKON_HOME/postactivate"
+
+    virtualenvwrapper_source_hook "$VIRTUAL_ENV/bin/postactivate"    
     
 	return 0
 }
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.