projects
/
dotfiles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Put on_prompt() setting with its implementation
[dotfiles]
/
.bashrc
diff --git
a/.bashrc
b/.bashrc
index
a783a60
..
778a65d
100644
(file)
--- a/
.bashrc
+++ b/
.bashrc
@@
-119,11
+119,11
@@
on_prompt() {
fi
}
fi
}
-# Set vi keybindings
-set -o vi
-
# Call on_prompt() every time the command prompt executes
PROMPT_COMMAND=on_prompt
# Call on_prompt() every time the command prompt executes
PROMPT_COMMAND=on_prompt
+# Set vi keybindings
+set -o vi
+
# pip should only run if there is a virtualenv currently activated
export PIP_REQUIRE_VIRTUALENV=true
# pip should only run if there is a virtualenv currently activated
export PIP_REQUIRE_VIRTUALENV=true