Commit 01d32a402142901528347f8b326e3360b6e2ef53

Authored by mj
1 parent d1ed76128c
Exists in master and in 2 other branches 02-merge, dev

[IMP] zshrc.sh: ALIASES zupdev

Showing 1 changed file with 1 additions and 1 deletions Inline Diff

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