Commit c73235dd212ef1bfaefbd1d33a20365fe57b2b85
1 parent
e8740061e1
Exists in
master
and in
2 other branches
.zshrc.sh: SPLIT (2 FILES)
Showing 2 changed files with 60 additions and 36 deletions Side-by-side Diff
dotfiles/zshrc.sh
... | ... | @@ -0,0 +1,49 @@ |
1 | +#@IgnoreInspection AddShebang | |
2 | +# ENVIRONMENT: | |
3 | +export GJ_ENV=local_aptproxy | |
4 | + | |
5 | +export ZCFG=$HOME/.config/zsh-config | |
6 | +# Path to your oh-my-zsh installation. | |
7 | +export ZSH=$ZCFG/packages/oh-my-zsh | |
8 | + | |
9 | +export LANG=en_US.UTF-8 | |
10 | + | |
11 | +# Compilation flags | |
12 | +export ARCHFLAGS="-arch x86_64" | |
13 | + | |
14 | +# Themes are in (...)/oh-my-zsh/themes/ or "random" | |
15 | +ZSH_THEME="mj" | |
16 | + | |
17 | +CASE_SENSITIVE="true" | |
18 | +DISABLE_AUTO_UPDATE="true" | |
19 | +#DISABLE_AUTO_TITLE="true" | |
20 | +ENABLE_CORRECTION="false" | |
21 | +COMPLETION_WAITING_DOTS="true" | |
22 | +DISABLE_UNTRACKED_FILES_DIRTY="true" | |
23 | +HIST_STAMPS="dd.mm.yyyy" | |
24 | +ZSH_CUSTOM=ZCFG/custom | |
25 | + | |
26 | +plugins+=(command-not-found common-aliases debian dirhistory git history history-substring-search systemadmin zsh_reload) | |
27 | + | |
28 | +# User configuration | |
29 | +export PATH=$HOME/bin:/usr/local/bin:$PATH | |
30 | +# export MANPATH="/usr/local/man:$MANPATH" | |
31 | + | |
32 | +# Environment | |
33 | +if [ -f $ZCFG/dotfiles/environment.sh ]; then | |
34 | + . $ZCFG/dotfiles/environment.sh | |
35 | +fi | |
36 | + | |
37 | +export HISTFILESIZE= | |
38 | +export HISTSIZE= | |
39 | +export HISTFILE=~/.history | |
40 | + | |
41 | +#source $ZSH/oh-my-zsh.sh | |
42 | +source $HOME/.config/zsh-config/packages/oh-my-zsh/oh-my-zsh.sh | |
43 | + | |
44 | +export ZSH=$ZCFG/packages/oh-my-zsh | |
45 | + | |
46 | +# Aliases | |
47 | +if [ -f $ZCFG/templates/bash_aliases.sh ]; then | |
48 | + . $ZCFG/templates/bash_aliases.sh | |
49 | +fi |
templates/zshrc.sh
1 | 1 | #@IgnoreInspection AddShebang |
2 | + | |
2 | 3 | # ENVIRONMENT: |
3 | 4 | export GJ_ENV=local_aptproxy |
4 | 5 | |
5 | -export ZCFG=$HOME/.config/zsh-config | |
6 | -# Path to your oh-my-zsh installation. | |
7 | -export ZSH=$ZCFG/packages/oh-my-zsh | |
8 | - | |
9 | 6 | export LANG=en_US.UTF-8 |
10 | 7 | |
11 | 8 | # Compilation flags |
12 | 9 | export ARCHFLAGS="-arch x86_64" |
13 | 10 | |
14 | -# Themes are in (...)/oh-my-zsh/themes/ or "random" | |
15 | -ZSH_THEME="mj" | |
16 | - | |
17 | -CASE_SENSITIVE="true" | |
18 | -DISABLE_AUTO_UPDATE="true" | |
19 | -#DISABLE_AUTO_TITLE="true" | |
20 | -ENABLE_CORRECTION="false" | |
21 | -COMPLETION_WAITING_DOTS="true" | |
22 | -DISABLE_UNTRACKED_FILES_DIRTY="true" | |
23 | -HIST_STAMPS="dd.mm.yyyy" | |
24 | -ZSH_CUSTOM=ZCFG/custom | |
25 | - | |
26 | -plugins=(command-not-found common-aliases debian dirhistory git history history-substring-search systemadmin zsh_reload | |
27 | - #pip python virtualenv virtualenvwrapper | |
28 | - #meteor node npm | |
29 | -) | |
30 | - | |
31 | 11 | # User configuration |
32 | 12 | export PATH=$HOME/bin:/usr/local/bin:$PATH |
33 | 13 | # export MANPATH="/usr/local/man:$MANPATH" |
34 | 14 | |
35 | -# Environment | |
36 | -if [ -f $ZCFG/dotfiles/environment.sh ]; then | |
37 | - . $ZCFG/dotfiles/environment.sh | |
38 | -fi | |
39 | - | |
40 | -export HISTFILESIZE= | |
41 | -export HISTSIZE= | |
42 | -export HISTFILE=~/.history | |
43 | - | |
44 | -#source $ZSH/oh-my-zsh.sh | |
45 | -source $HOME/.config/zsh-config/packages/oh-my-zsh/oh-my-zsh.sh | |
15 | +plugins=( | |
16 | + pip python virtualenv virtualenvwrapper | |
17 | + #meteor node npm | |
18 | +) | |
46 | 19 | |
47 | -export ZSH=$ZCFG/packages/oh-my-zsh | |
20 | +# virtualenvwrapper: | |
21 | +export WORKON_HOME=$HOME/.virtualenvs | |
22 | +source /usr/local/bin/virtualenvwrapper.sh | |
48 | 23 | |
49 | 24 | # Aliases |
50 | -if [ -f $ZCFG/templates/bash_aliases.sh ]; then | |
51 | - . $ZCFG/templates/bash_aliases.sh | |
52 | -fi | |
25 | +if [ -f $ZCFG/dotfiles/zshrc.sh ]; then | |
26 | + . $ZCFG/dotfiles/zshrc.sh | |
27 | +fi | |
53 | 28 | \ No newline at end of file |