Commit bd6d233d9b54040d7a0d7541cd6157c8beb68cfd
1 parent
292eeff3e3
Exists in
master
and in
2 other branches
[TEST] zshrc: virtualenvwrapper
Showing 1 changed file with 7 additions and 8 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 | 8 | # virtualenvwrapper |
9 | export WORKON_HOME=$HOME/.virtualenvs | 9 | export WORKON_HOME=$HOME/.virtualenvs |
10 | 10 | ||
11 | export LANG=en_US.UTF-8 | 11 | export LANG=en_US.UTF-8 |
12 | 12 | ||
13 | # Compilation flags | 13 | # Compilation flags |
14 | export ARCHFLAGS="-arch x86_64" | 14 | export ARCHFLAGS="-arch x86_64" |
15 | 15 | ||
16 | # Themes are in (...)/oh-my-zsh/themes/ or "random" | 16 | # Themes are in (...)/oh-my-zsh/themes/ or "random" |
17 | ZSH_THEME="mj" | 17 | ZSH_THEME="mj" |
18 | 18 | ||
19 | CASE_SENSITIVE="true" | 19 | CASE_SENSITIVE="true" |
20 | DISABLE_AUTO_UPDATE="true" | 20 | DISABLE_AUTO_UPDATE="true" |
21 | #DISABLE_AUTO_TITLE="true" | 21 | #DISABLE_AUTO_TITLE="true" |
22 | ENABLE_CORRECTION="false" | 22 | ENABLE_CORRECTION="false" |
23 | COMPLETION_WAITING_DOTS="true" | 23 | COMPLETION_WAITING_DOTS="true" |
24 | DISABLE_UNTRACKED_FILES_DIRTY="true" | 24 | DISABLE_UNTRACKED_FILES_DIRTY="true" |
25 | HIST_STAMPS="dd.mm.yyyy" | 25 | HIST_STAMPS="dd.mm.yyyy" |
26 | ZSH_CUSTOM=$ZCFG/custom | 26 | ZSH_CUSTOM=$ZCFG/custom |
27 | 27 | ||
28 | 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) |
29 | 29 | ||
30 | # virtualenvwrapper | ||
31 | if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then | ||
32 | # export WORKON_HOME=$HOME/.virtualenvs | ||
33 | source /usr/local/bin/virtualenvwrapper.sh | ||
34 | plugins+=(pip python virtualenv virtualenvwrapper) | ||
35 | fi | ||
36 | |||
37 | # User configuration | 30 | # User configuration |
38 | export PATH=$HOME/bin:/usr/local/bin:$PATH | 31 | export PATH=$HOME/bin:/usr/local/bin:$PATH |
39 | 32 | ||
40 | # Environment | 33 | # Environment |
41 | if [ -f $ZCFG/dotfiles/environment.sh ]; then | 34 | if [ -f $ZCFG/dotfiles/environment.sh ]; then |
42 | . $ZCFG/dotfiles/environment.sh | 35 | . $ZCFG/dotfiles/environment.sh |
43 | fi | 36 | fi |
44 | 37 | ||
45 | # History | 38 | # History |
46 | export HISTFILESIZE= | 39 | export HISTFILESIZE= |
47 | export HISTSIZE= | 40 | export HISTSIZE= |
48 | export HISTFILE=~/.history | 41 | export HISTFILE=~/.history |
49 | 42 | ||
50 | # Apply | 43 | # Apply |
51 | source $ZSH/oh-my-zsh.sh | 44 | source $ZSH/oh-my-zsh.sh |
52 | 45 | ||
53 | # Aliases | 46 | # virtualenvwrapper |
47 | if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then | ||
48 | # export WORKON_HOME=$HOME/.virtualenvs | ||
49 | source /usr/local/bin/virtualenvwrapper.sh | ||
50 | plugins+=(pip python virtualenv virtualenvwrapper) | ||
51 | fi | ||
54 | 52 | ||
53 | # Aliases |