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