Commit 10d1ced495d4c5889f550257ea369f63c23baf50
1 parent
d911c61de0
Exists in
master
and in
2 other branches
zshrc.sh - COMPLETE REWRITE
Showing 1 changed file with 8 additions and 55 deletions Inline Diff
templates/zshrc.sh
| 1 | #@IgnoreInspection AddShebang | 1 | #@IgnoreInspection AddShebang |
| 2 | # ENVIRONMENT: | 2 | # ENVIRONMENT: |
| 3 | export GJ_DEVENV=local_aptproxy | 3 | export GJ_DEVENV=local_aptproxy |
| 4 | 4 | ||
| 5 | export ZCFG=~/.config/zsh-config | 5 | export ZCFG=~/.config/zsh-config |
| 6 | # Path to your oh-my-zsh installation. | 6 | # Path to your oh-my-zsh installation. |
| 7 | export ZSH=$ZCFG/packages/oh-my-zsh | 7 | export ZSH=$ZCFG/packages/oh-my-zsh |
| 8 | 8 | ||
| 9 | export LANG=en_US.UTF-8 | 9 | export LANG=en_US.UTF-8 |
| 10 | 10 | ||
| 11 | # Compilation flags | 11 | # Compilation flags |
| 12 | export ARCHFLAGS="-arch x86_64" | 12 | export ARCHFLAGS="-arch x86_64" |
| 13 | 13 | ||
| 14 | # Themes are in (...)/oh-my-zsh/themes/ or "random" | 14 | # Themes are in (...)/oh-my-zsh/themes/ or "random" |
| 15 | ZSH_THEME="muse" | 15 | ZSH_THEME="muse" |
| 16 | 16 | ||
| 17 | CASE_SENSITIVE="true" | 17 | CASE_SENSITIVE="true" |
| 18 | DISABLE_AUTO_UPDATE="true" | 18 | DISABLE_AUTO_UPDATE="true" |
| 19 | DISABLE_AUTO_TITLE="true" | 19 | #DISABLE_AUTO_TITLE="true" |
| 20 | ENABLE_CORRECTION="true" | 20 | ENABLE_CORRECTION="false" |
| 21 | COMPLETION_WAITING_DOTS="true" | 21 | COMPLETION_WAITING_DOTS="true" |
| 22 | DISABLE_UNTRACKED_FILES_DIRTY="true" | 22 | DISABLE_UNTRACKED_FILES_DIRTY="true" |
| 23 | HIST_STAMPS="dd.mm.yyyy" | 23 | HIST_STAMPS="dd.mm.yyyy" |
| 24 | ZSH_CUSTOM=ZCFG/custom | 24 | ZSH_CUSTOM=ZCFG/custom |
| 25 | 25 | ||
| 26 | plugins=(command-not-found common-aliases debian dirhistory git history history-substring-search systemadmin zsh_reload | 26 | plugins=(command-not-found common-aliases debian dirhistory git history history-substring-search systemadmin zsh_reload |
| 27 | pip python virtualenv virtualenvwrapper | 27 | #pip python virtualenv virtualenvwrapper |
| 28 | meteor node npm | 28 | #meteor node npm |
| 29 | ) | 29 | ) |
| 30 | 30 | ||
| 31 | #if [ -f ~/.config/zsh-config/templates/bash_aliases ]; then | ||
| 32 | # . ~/.config/zsh-config/templates/bash_aliases | ||
| 33 | #fi | ||
| 34 | |||
| 35 | # User configuration | 31 | # User configuration |
| 36 | export PATH=$HOME/bin:/usr/local/bin:$PATH | 32 | export PATH=$HOME/bin:/usr/local/bin:$PATH |
| 37 | # export MANPATH="/usr/local/man:$MANPATH" | 33 | # export MANPATH="/usr/local/man:$MANPATH" |
| 38 | 34 | ||
| 39 | source ~/.zshrc | 35 | source $ZSH/oh-my-zsh.sh |
| 40 | |||
| 41 | # source $ZSH/oh-my-zsh.sh | ||
| 42 | |||
| 43 | # ANTIGEN: | ||
| 44 | # | ||
| 45 | # source $ZCFG/packages/antigen/antigen.zsh | ||
| 46 | # | ||
| 47 | # MUST: | ||
| 48 | #antigen bundle extract | ||
| 49 | # | ||
| 50 | # | ||
| 51 | # NICE: | ||
| 52 | #antigen bundle iwhois | ||
| 53 | #antigen bundle screen | ||
| 54 | #antigen bundle ssh-agent | ||
| 55 | #antigen bundle web-search | ||
| 56 | # # if webdev: | ||
| 57 | #antigen bundle catimg | ||
| 58 | # | ||
| 59 | # docker: | ||
| 60 | #antigen bundle docker | ||
| 61 | # | ||
| 62 | # kde: | ||
| 63 | #antigen bundle kate | ||
| 64 | # | ||
| 65 | # removed: | ||
| 66 | #antigen bundle autoenv | ||
| 67 | #antigen bundle iwhois | ||
| 68 | #antigen bundle per-directory-history | ||
| 69 | #antigen bundle screen | ||
| 70 | # | ||
| 71 | # THEME #---------- | ||
| 72 | # | ||
| 73 | #antigen theme muse | ||
| 74 | # | ||
| 75 | #antigen apply | ||
| 76 | |||
| 77 | # ssh | ||
| 78 | # export SSH_KEY_PATH="~/.ssh/id_rsa" | ||
| 79 | # zstyle :omz:plugins:ssh-agent agent-forwarding on | ||
| 80 | 36 | ||
| 81 | # Preferred editor for local and remote sessions | ||
| 82 | # if [[ -n $SSH_CONNECTION ]]; then | ||
| 83 | # export EDITOR='vim' | ||
| 84 | # else | ||
| 85 | # export EDITOR='mvim' | ||
| 86 | # fi |