Blame view

dotfiles/zshrc.sh 1.45 KB
c73235dd2   mj   .zshrc.sh: SPLIT ...
1
2
3
  #@IgnoreInspection AddShebang
  # ENVIRONMENT:
  export GJ_ENV=local_aptproxy
c73235dd2   mj   .zshrc.sh: SPLIT ...
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  # Path to your oh-my-zsh installation.
  export ZSH=$ZCFG/packages/oh-my-zsh
  
  export LANG=en_US.UTF-8
  
  # Compilation flags
  export ARCHFLAGS="-arch x86_64"
  
  # Themes are in (...)/oh-my-zsh/themes/ or "random"
  ZSH_THEME="mj"
  
  CASE_SENSITIVE="true"
  DISABLE_AUTO_UPDATE="true"
  #DISABLE_AUTO_TITLE="true"
  ENABLE_CORRECTION="false"
  COMPLETION_WAITING_DOTS="true"
  DISABLE_UNTRACKED_FILES_DIRTY="true"
  HIST_STAMPS="dd.mm.yyyy"
48e7d0f23   mj   .zshrc.sh: FIX ZS...
22
  ZSH_CUSTOM=$ZCFG/custom
c73235dd2   mj   .zshrc.sh: SPLIT ...
23

80a402555   mj   [IMP] AUTO-ADD sc...
24
  plugins+=(command-not-found common-aliases debian dirhistory history history-substring-search screen systemadmin zsh_reload)
c73235dd2   mj   .zshrc.sh: SPLIT ...
25
26
27
  
  # User configuration
  export PATH=$HOME/bin:/usr/local/bin:$PATH
c73235dd2   mj   .zshrc.sh: SPLIT ...
28
29
30
31
32
  
  # Environment
  if [ -f $ZCFG/dotfiles/environment.sh ]; then
      . $ZCFG/dotfiles/environment.sh
  fi
1e57f178b   mj   .zshrc.sh: FIX
33
  # History
c73235dd2   mj   .zshrc.sh: SPLIT ...
34
35
36
  export HISTFILESIZE=
  export HISTSIZE=
  export HISTFILE=~/.history
1e57f178b   mj   .zshrc.sh: FIX
37
38
  # Apply
  source $ZSH/oh-my-zsh.sh
c73235dd2   mj   .zshrc.sh: SPLIT ...
39

bd6d233d9   mj   [TEST] zshrc: vir...
40
41
  # virtualenvwrapper
  if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then
e52f738b0   mj   [TEST] zshrc: vir...
42
  	export WORKON_HOME=$HOME/.virtualenvs
2980cef0b   mj   [FIX] zshrc: virt...
43
  	export VIRTUALENVWRAPPER_HOOK_DIR=$HOME/.virtualenvs
bd6d233d9   mj   [TEST] zshrc: vir...
44
45
46
  	source /usr/local/bin/virtualenvwrapper.sh
  	plugins+=(pip python virtualenv virtualenvwrapper)
  fi
40896dfb7   mj   [NEW ALIASES] zshrc:
47

bd6d233d9   mj   [TEST] zshrc: vir...
48
  # Aliases
c6ca40362   mj   [IMP] zshrc: ALIA...
49
  alias zpl='cd $ZSH/plugins && ls -Alh | less'
40896dfb7   mj   [NEW ALIASES] zshrc:
50
  alias zup='cd $ZCFG && git pull origin master && source ~/.zshrc && cd'
e2acb86d9   mj   dotfiles/zshrc.sh:
51
52
  if [ -f $ZCFG/dotfiles/bash_aliases.sh ]; then
      . $ZCFG/dotfiles/bash_aliases.sh
f1156f079   mj   [IMP] ADD dotfile...
53
54
55
56
  fi
  
  if [ -f $ZCFG/dotfiles/aliases_zsh.sh ]; then
      . $ZCFG/dotfiles/aliases_zsh.sh
1e57f178b   mj   .zshrc.sh: FIX
57
  fi