Blame view

dotfiles/zshrc.sh 1.82 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
  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...
19
  ZSH_CUSTOM=$ZCFG/custom
c73235dd2   mj   .zshrc.sh: SPLIT ...
20

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

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

bd6d233d9   mj   [TEST] zshrc: vir...
45
  # Aliases
c6ca40362   mj   [IMP] zshrc: ALIA...
46
  alias zpl='cd $ZSH/plugins && ls -Alh | less'
a745d6047   mj   [IMP] zshrc.sh: A...
47

1cc76bc9c   mj   [IMP] zshrc.sh: A...
48
  alias zup='cd $ZCFG && git pull origin master && rm ~/.zcompdump* ~/.zshrc.zwc && cd && source ~/.zshrc'
01d32a402   mj   [IMP] zshrc.sh: A...
49
  alias zupdev='cd $ZCFG && git pull origin dev && rm ~/.zcompdump* ~/.zshrc.zwc && cd && source ~/.zshrc'
40896dfb7   mj   [NEW ALIASES] zshrc:
50

a745d6047   mj   [IMP] zshrc.sh: A...
51
52
  alias zup-rm='cd && rm -r .config/zsh-config .z* .bashrc && cd $ZCFG && git pull origin master && rm ~/.zcompdump* ~/.zshrc.zwc && cd && source ~/.zshrc'
  alias zup-rm-dev='cd && rm -r .config/zsh-config .z* .bashrc && cd $ZCFG && git pull origin dev && rm ~/.zcompdump* ~/.zshrc.zwc && cd && source ~/.zshrc'
e2acb86d9   mj   dotfiles/zshrc.sh:
53
54
  if [ -f $ZCFG/dotfiles/bash_aliases.sh ]; then
      . $ZCFG/dotfiles/bash_aliases.sh
f1156f079   mj   [IMP] ADD dotfile...
55
56
57
58
  fi
  
  if [ -f $ZCFG/dotfiles/aliases_zsh.sh ]; then
      . $ZCFG/dotfiles/aliases_zsh.sh
9e08f2376   mj   [IMP] zshrc.sh: D...
59
  fi