Blame view
dotfiles/zshrc.sh
1.37 KB
|
c73235dd2
|
1 2 3 |
#@IgnoreInspection AddShebang # ENVIRONMENT: export GJ_ENV=local_aptproxy |
|
c73235dd2
|
4 5 |
# Path to your oh-my-zsh installation. export ZSH=$ZCFG/packages/oh-my-zsh |
|
292eeff3e
|
6 7 |
# virtualenvwrapper export WORKON_HOME=$HOME/.virtualenvs |
|
c73235dd2
|
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
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
|
23 |
ZSH_CUSTOM=$ZCFG/custom |
|
c73235dd2
|
24 |
|
|
88963b0bb
|
25 |
plugins+=(command-not-found common-aliases debian dirhistory history history-substring-search systemadmin zsh_reload) |
|
c73235dd2
|
26 |
|
|
ac429f7a9
|
27 28 |
# virtualenvwrapper if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then |
|
292eeff3e
|
29 |
# export WORKON_HOME=$HOME/.virtualenvs |
|
ac429f7a9
|
30 31 32 |
source /usr/local/bin/virtualenvwrapper.sh plugins+=(pip python virtualenv virtualenvwrapper) fi |
|
c73235dd2
|
33 34 |
# User configuration export PATH=$HOME/bin:/usr/local/bin:$PATH |
|
c73235dd2
|
35 36 37 38 39 |
# Environment
if [ -f $ZCFG/dotfiles/environment.sh ]; then
. $ZCFG/dotfiles/environment.sh
fi
|
|
1e57f178b
|
40 |
# History |
|
c73235dd2
|
41 42 43 |
export HISTFILESIZE= export HISTSIZE= export HISTFILE=~/.history |
|
1e57f178b
|
44 45 |
# Apply source $ZSH/oh-my-zsh.sh |
|
c73235dd2
|
46 47 |
# Aliases |
|
40896dfb7
|
48 |
|
|
c6ca40362
|
49 |
alias zpl='cd $ZSH/plugins && ls -Alh | less' |
|
40896dfb7
|
50 |
alias zup='cd $ZCFG && git pull origin master && source ~/.zshrc && cd' |
|
e2acb86d9
|
51 52 |
if [ -f $ZCFG/dotfiles/bash_aliases.sh ]; then
. $ZCFG/dotfiles/bash_aliases.sh
|
|
1e57f178b
|
53 |
fi |