Blame view
dotfiles/zshrc.sh
1.4 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 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
|
22 |
ZSH_CUSTOM=$ZCFG/custom |
|
c73235dd2
|
23 |
|
|
80a402555
|
24 |
plugins+=(command-not-found common-aliases debian dirhistory history history-substring-search screen systemadmin zsh_reload) |
|
c73235dd2
|
25 26 27 |
# User configuration export PATH=$HOME/bin:/usr/local/bin:$PATH |
|
c73235dd2
|
28 29 30 31 32 |
# Environment
if [ -f $ZCFG/dotfiles/environment.sh ]; then
. $ZCFG/dotfiles/environment.sh
fi
|
|
1e57f178b
|
33 |
# History |
|
c73235dd2
|
34 35 36 |
export HISTFILESIZE= export HISTSIZE= export HISTFILE=~/.history |
|
1e57f178b
|
37 38 |
# Apply source $ZSH/oh-my-zsh.sh |
|
c73235dd2
|
39 |
|
|
bd6d233d9
|
40 41 |
# virtualenvwrapper if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then |
|
e52f738b0
|
42 |
export WORKON_HOME=$HOME/.virtualenvs |
|
bd6d233d9
|
43 44 45 |
source /usr/local/bin/virtualenvwrapper.sh plugins+=(pip python virtualenv virtualenvwrapper) fi |
|
40896dfb7
|
46 |
|
|
bd6d233d9
|
47 |
# Aliases |
|
c6ca40362
|
48 |
alias zpl='cd $ZSH/plugins && ls -Alh | less' |
|
40896dfb7
|
49 |
alias zup='cd $ZCFG && git pull origin master && source ~/.zshrc && cd' |
|
e2acb86d9
|
50 51 |
if [ -f $ZCFG/dotfiles/bash_aliases.sh ]; then
. $ZCFG/dotfiles/bash_aliases.sh
|
|
f1156f079
|
52 53 54 55 |
fi
if [ -f $ZCFG/dotfiles/aliases_zsh.sh ]; then
. $ZCFG/dotfiles/aliases_zsh.sh
|
|
1e57f178b
|
56 |
fi |