projects
/
dotfiles
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d94c70
)
Prevent pip from running if there isn't a virtualenv
author
David Kerkeslager
<kerkeslager@gmail.com>
Wed, 6 Jul 2016 02:36:41 +0000
(22:36 -0400)
committer
GitHub
<noreply@github.com>
Wed, 6 Jul 2016 02:36:41 +0000
(22:36 -0400)
.bashrc
patch
|
blob
|
history
diff --git
a/.bashrc
b/.bashrc
index
80aa76e
..
a8ebce5
100644
(file)
--- a/
.bashrc
+++ b/
.bashrc
@@
-117,3
+117,5
@@
set -o vi
# Call on_prompt() every time the command prompt executes
PROMPT_COMMAND=on_prompt
+# pip should only run if there is a virtualenv currently activated
+export PIP_REQUIRE_VIRTUALENV=true