Commit 292eeff3e317eda2adae53b14f6b336442869395
1 parent
964c49949b
Exists in
master
and in
2 other branches
[TEST] zshrc: virtualenvwrapper
Showing 1 changed file with 4 additions and 1 deletions Inline Diff
dotfiles/zshrc.sh
1 | #@IgnoreInspection AddShebang | 1 | #@IgnoreInspection AddShebang |
2 | # ENVIRONMENT: | 2 | # ENVIRONMENT: |
3 | export GJ_ENV=local_aptproxy | 3 | export GJ_ENV=local_aptproxy |
4 | 4 | ||
5 | # Path to your oh-my-zsh installation. | 5 | # Path to your oh-my-zsh installation. |
6 | export ZSH=$ZCFG/packages/oh-my-zsh | 6 | export ZSH=$ZCFG/packages/oh-my-zsh |
7 | 7 | ||
8 | # virtualenvwrapper | ||
9 | export WORKON_HOME=$HOME/.virtualenvs | ||
10 | |||
8 | export LANG=en_US.UTF-8 | 11 | export LANG=en_US.UTF-8 |
9 | 12 | ||
10 | # Compilation flags | 13 | # Compilation flags |
11 | export ARCHFLAGS="-arch x86_64" | 14 | export ARCHFLAGS="-arch x86_64" |
12 | 15 | ||
13 | # Themes are in (...)/oh-my-zsh/themes/ or "random" | 16 | # Themes are in (...)/oh-my-zsh/themes/ or "random" |
14 | ZSH_THEME="mj" | 17 | ZSH_THEME="mj" |
15 | 18 | ||
16 | CASE_SENSITIVE="true" | 19 | CASE_SENSITIVE="true" |
17 | DISABLE_AUTO_UPDATE="true" | 20 | DISABLE_AUTO_UPDATE="true" |
18 | #DISABLE_AUTO_TITLE="true" | 21 | #DISABLE_AUTO_TITLE="true" |
19 | ENABLE_CORRECTION="false" | 22 | ENABLE_CORRECTION="false" |
20 | COMPLETION_WAITING_DOTS="true" | 23 | COMPLETION_WAITING_DOTS="true" |
21 | DISABLE_UNTRACKED_FILES_DIRTY="true" | 24 | DISABLE_UNTRACKED_FILES_DIRTY="true" |
22 | HIST_STAMPS="dd.mm.yyyy" | 25 | HIST_STAMPS="dd.mm.yyyy" |
23 | ZSH_CUSTOM=$ZCFG/custom | 26 | ZSH_CUSTOM=$ZCFG/custom |
24 | 27 | ||
25 | plugins+=(command-not-found common-aliases debian dirhistory history history-substring-search systemadmin zsh_reload) | 28 | plugins+=(command-not-found common-aliases debian dirhistory history history-substring-search systemadmin zsh_reload) |
26 | 29 | ||
27 | # virtualenvwrapper | 30 | # virtualenvwrapper |
28 | if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then | 31 | if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then |
29 | export WORKON_HOME=$HOME/.virtualenvs | 32 | # export WORKON_HOME=$HOME/.virtualenvs |
30 | source /usr/local/bin/virtualenvwrapper.sh | 33 | source /usr/local/bin/virtualenvwrapper.sh |
31 | plugins+=(pip python virtualenv virtualenvwrapper) | 34 | plugins+=(pip python virtualenv virtualenvwrapper) |
32 | fi | 35 | fi |
33 | 36 | ||
34 | # User configuration | 37 | # User configuration |
35 | export PATH=$HOME/bin:/usr/local/bin:$PATH | 38 | export PATH=$HOME/bin:/usr/local/bin:$PATH |
36 | 39 | ||
37 | # Environment | 40 | # Environment |
38 | if [ -f $ZCFG/dotfiles/environment.sh ]; then | 41 | if [ -f $ZCFG/dotfiles/environment.sh ]; then |
39 | . $ZCFG/dotfiles/environment.sh | 42 | . $ZCFG/dotfiles/environment.sh |
40 | fi | 43 | fi |
41 | 44 | ||
42 | # History | 45 | # History |
43 | export HISTFILESIZE= | 46 | export HISTFILESIZE= |
44 | export HISTSIZE= | 47 | export HISTSIZE= |
45 | export HISTFILE=~/.history | 48 | export HISTFILE=~/.history |
46 | 49 | ||
47 | # Apply | 50 | # Apply |
48 | source $ZSH/oh-my-zsh.sh | 51 | source $ZSH/oh-my-zsh.sh |
49 | 52 | ||
50 | # Aliases | 53 | # Aliases |
51 | 54 | ||
52 | alias zpl='cd $ZSH/plugins && ls -Alh | less' | 55 | alias zpl='cd $ZSH/plugins && ls -Alh | less' |
53 | alias zup='cd $ZCFG && git pull origin master && source ~/.zshrc && cd' | 56 | alias zup='cd $ZCFG && git pull origin master && source ~/.zshrc && cd' |
54 | 57 | ||
55 | if [ -f $ZCFG/dotfiles/bash_aliases.sh ]; then | 58 | if [ -f $ZCFG/dotfiles/bash_aliases.sh ]; then |
56 | . $ZCFG/dotfiles/bash_aliases.sh | 59 | . $ZCFG/dotfiles/bash_aliases.sh |
57 | fi | 60 | fi |