Commit e25a750ad74b561d1c05bd3bad9b1fdb13e48b89

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

[IMP] zshrc.sh: ADD alias 'zupdev'

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