Skip to content

Commit 3ea7c99

Browse files
committed
run global postactivatehook before local; move release not to the correct version
1 parent 9d60aba commit 3ea7c99

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

README

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,10 @@ Updates
114114

115115
1.11
116116
- Optimize virtualenvwrapper_show_workon_options.
117-
-
117+
- Add global postactivate hook.
118118

119119
1.10
120120
- Pull in fix for colorized ls from Jeff Forcier (b42a25f7b74a).
121-
- Add global postactivate hook.
122121

123122
1.9
124123
- Add more hooks for operations to run before and after creating or deleting environments based on changes from Chris Hasenpflug.

virtualenvwrapper_bashrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@ function workon () {
144144

145145
source "$activate"
146146

147-
virtualenvwrapper_source_hook "$VIRTUAL_ENV/bin/postactivate"
148-
149147
virtualenvwrapper_source_hook "$WORKON_HOME/postactivate"
148+
149+
virtualenvwrapper_source_hook "$VIRTUAL_ENV/bin/postactivate"
150150

151151
return 0
152152
}

0 commit comments

Comments
 (0)