Blame view
dotfiles/zshrc.sh
1.65 KB
|
c73235dd2
|
1 2 3 |
#@IgnoreInspection AddShebang # ENVIRONMENT: export GJ_ENV=local_aptproxy |
|
c73235dd2
|
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
|
19 |
ZSH_CUSTOM=$ZCFG/custom |
|
c73235dd2
|
20 |
|
|
80a402555
|
21 |
plugins+=(command-not-found common-aliases debian dirhistory history history-substring-search screen systemadmin zsh_reload) |
|
c73235dd2
|
22 23 |
# User configuration |
|
9e08f2376
|
24 |
#export PATH=$HOME/bin:/usr/local/bin:$PATH |
|
c73235dd2
|
25 26 27 28 29 |
# Environment
if [ -f $ZCFG/dotfiles/environment.sh ]; then
. $ZCFG/dotfiles/environment.sh
fi
|
|
1e57f178b
|
30 |
# History |
|
c73235dd2
|
31 32 33 |
export HISTFILESIZE= export HISTSIZE= export HISTFILE=~/.history |
|
1e57f178b
|
34 35 |
# Apply source $ZSH/oh-my-zsh.sh |
|
c73235dd2
|
36 |
|
|
bd6d233d9
|
37 38 |
# virtualenvwrapper if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then |
|
e52f738b0
|
39 |
export WORKON_HOME=$HOME/.virtualenvs |
|
2980cef0b
|
40 |
export VIRTUALENVWRAPPER_HOOK_DIR=$HOME/.virtualenvs |
|
bd6d233d9
|
41 42 43 |
source /usr/local/bin/virtualenvwrapper.sh plugins+=(pip python virtualenv virtualenvwrapper) fi |
|
40896dfb7
|
44 |
|
|
bd6d233d9
|
45 |
# Aliases |
|
c6ca40362
|
46 |
alias zpl='cd $ZSH/plugins && ls -Alh | less' |
|
a745d6047
|
47 |
|
|
1cc76bc9c
|
48 |
alias zup='cd $ZCFG && git pull origin master && rm ~/.zcompdump* ~/.zshrc.zwc && cd && source ~/.zshrc' |
|
01d32a402
|
49 |
alias zupdev='cd $ZCFG && git pull origin dev && rm ~/.zcompdump* ~/.zshrc.zwc && cd && source ~/.zshrc' |
|
40896dfb7
|
50 |
|
|
80d001046
|
51 |
alias zinst='cd && rm -r .config/zsh-config .z* .bashrc && curl -L http://git.str8.biz/mj/zsh-config/raw/master/tools/install.sh | sh' |
|
a745d6047
|
52 |
|
|
e2acb86d9
|
53 54 |
if [ -f $ZCFG/dotfiles/bash_aliases.sh ]; then
. $ZCFG/dotfiles/bash_aliases.sh
|
|
f1156f079
|
55 56 57 58 |
fi
if [ -f $ZCFG/dotfiles/aliases_zsh.sh ]; then
. $ZCFG/dotfiles/aliases_zsh.sh
|
|
9e08f2376
|
59 |
fi |