Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(810)

Side by Side Diff: bootstrap/virtualenv/virtualenv_embedded/activate.csh

Issue 2043213002: Roll virtualenv 12.0->15.0.2 (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: vendor virtualenv and exclude from gender check Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # This file must be used with "source bin/activate.csh" *from csh*.
2 # You cannot run it directly.
3 # Created by Davide Di Blasi <davidedb@gmail.com>.
4
5 alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PA TH" && unset _OLD_VIRTUAL_PATH; rehash; test $?_OLD_VIRTUAL_PROMPT != 0 && set p rompt="$_OLD_VIRTUAL_PROMPT" && unset _OLD_VIRTUAL_PROMPT; unsetenv VIRTUAL_ENV; test "\!:*" != "nondestructive" && unalias deactivate && unalias pydoc'
6
7 # Unset irrelevant variables.
8 deactivate nondestructive
9
10 setenv VIRTUAL_ENV "__VIRTUAL_ENV__"
11
12 set _OLD_VIRTUAL_PATH="$PATH"
13 setenv PATH "$VIRTUAL_ENV/__BIN_NAME__:$PATH"
14
15
16
17 if ("__VIRTUAL_PROMPT__" != "") then
18 set env_name = "__VIRTUAL_PROMPT__"
19 else
20 set env_name = `basename "$VIRTUAL_ENV"`
21 endif
22
23 # Could be in a non-interactive environment,
24 # in which case, $prompt is undefined and we wouldn't
25 # care about the prompt anyway.
26 if ( $?prompt ) then
27 set _OLD_VIRTUAL_PROMPT="$prompt"
28 set prompt = "[$env_name] $prompt"
29 endif
30
31 unset env_name
32
33 alias pydoc python -m pydoc
34
35 rehash
36
OLDNEW
« no previous file with comments | « bootstrap/virtualenv/virtualenv_embedded/activate.bat ('k') | bootstrap/virtualenv/virtualenv_embedded/activate.fish » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698