Commit f7f123531ece1773bfca79c23c6839337efc3545
1 parent
d0872834e0
Exists in
master
and in
2 other branches
zshrc
Showing 1 changed file with 11 additions and 13 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/tools/oh-my-zsh | 7 | export ZSH=$ZCFG/tools/oh-my-zsh |
| 8 | 8 | ||
| 9 | # Set name of the theme to load. | 9 | export LANG=en_US.UTF-8 |
| 10 | # Look in ~/.oh-my-zsh/themes/ | 10 | |
| 11 | # Optionally, if you set this to "random", it'll load a random theme each | 11 | # Compilation flags |
| 12 | # time that oh-my-zsh is loaded. | 12 | export ARCHFLAGS="-arch x86_64" |
| 13 | |||
| 14 | # Themes are in (...)/oh-my-zsh/themes/ or "random" | ||
| 13 | ZSH_THEME="muse" | 15 | ZSH_THEME="muse" |
| 14 | 16 | ||
| 15 | CASE_SENSITIVE="true" | 17 | CASE_SENSITIVE="true" |
| 16 | DISABLE_AUTO_UPDATE="true" | 18 | DISABLE_AUTO_UPDATE="true" |
| 17 | DISABLE_AUTO_TITLE="true" | 19 | DISABLE_AUTO_TITLE="true" |
| 18 | ENABLE_CORRECTION="true" | 20 | ENABLE_CORRECTION="true" |
| 19 | COMPLETION_WAITING_DOTS="true" | 21 | COMPLETION_WAITING_DOTS="true" |
| 20 | DISABLE_UNTRACKED_FILES_DIRTY="true" | 22 | DISABLE_UNTRACKED_FILES_DIRTY="true" |
| 21 | HIST_STAMPS="dd.mm.yyyy" | 23 | HIST_STAMPS="dd.mm.yyyy" |
| 22 | ZSH_CUSTOM=ZCFG/custom | 24 | ZSH_CUSTOM=ZCFG/custom |
| 23 | 25 | ||
| 24 | 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 |
| 25 | pip python virtualenv virtualenvwrapper | 27 | pip python virtualenv virtualenvwrapper |
| 26 | meteor node npm | 28 | meteor node npm |
| 27 | ) | 29 | ) |
| 28 | 30 | ||
| 31 | if [ -f ~/.config/zsh-config/templates/bash_aliases ]; then | ||
| 32 | . ~/.config/zsh-config/templates/bash_aliases | ||
| 33 | fi | ||
| 34 | |||
| 29 | # User configuration | 35 | # User configuration |
| 30 | export PATH=$HOME/bin:/usr/local/bin:$PATH | 36 | export PATH=$HOME/bin:/usr/local/bin:$PATH |
| 31 | # export MANPATH="/usr/local/man:$MANPATH" | 37 | # export MANPATH="/usr/local/man:$MANPATH" |
| 32 | 38 | ||
| 33 | source $ZSH/oh-my-zsh.sh | 39 | source $ZSH/oh-my-zsh.sh |
| 34 | export LANG=en_US.UTF-8 | ||
| 35 | 40 | ||
| 36 | # ANTIGEN: | 41 | # ANTIGEN: |
| 37 | # | 42 | # |
| 38 | # source $ZCFG/tools/antigen/antigen.zsh | 43 | # source $ZCFG/tools/antigen/antigen.zsh |
| 39 | # | 44 | # |
| 40 | # MUST: | 45 | # MUST: |
| 41 | #antigen bundle extract | 46 | #antigen bundle extract |
| 42 | # | 47 | # |
| 43 | # | 48 | # |
| 44 | # NICE: | 49 | # NICE: |
| 45 | #antigen bundle iwhois | 50 | #antigen bundle iwhois |
| 46 | #antigen bundle screen | 51 | #antigen bundle screen |
| 47 | #antigen bundle ssh-agent | 52 | #antigen bundle ssh-agent |
| 48 | #antigen bundle web-search | 53 | #antigen bundle web-search |
| 49 | # # if webdev: | 54 | # # if webdev: |
| 50 | #antigen bundle catimg | 55 | #antigen bundle catimg |
| 51 | # | 56 | # |
| 52 | # docker: | 57 | # docker: |
| 53 | #antigen bundle docker | 58 | #antigen bundle docker |
| 54 | # | 59 | # |
| 55 | # kde: | 60 | # kde: |
| 56 | #antigen bundle kate | 61 | #antigen bundle kate |
| 57 | # | 62 | # |
| 58 | # removed: | 63 | # removed: |
| 59 | #antigen bundle autoenv | 64 | #antigen bundle autoenv |
| 60 | #antigen bundle iwhois | 65 | #antigen bundle iwhois |
| 61 | #antigen bundle per-directory-history | 66 | #antigen bundle per-directory-history |
| 62 | #antigen bundle screen | 67 | #antigen bundle screen |
| 63 | # | 68 | # |
| 64 | # THEME #---------- | 69 | # THEME #---------- |
| 65 | # | 70 | # |
| 66 | #antigen theme muse | 71 | #antigen theme muse |
| 67 | # | 72 | # |
| 68 | #antigen apply | 73 | #antigen apply |
| 69 | 74 | ||
| 70 | # ssh | 75 | # ssh |
| 71 | # export SSH_KEY_PATH="~/.ssh/id_rsa" | 76 | # export SSH_KEY_PATH="~/.ssh/id_rsa" |
| 72 | # zstyle :omz:plugins:ssh-agent agent-forwarding on | 77 | # zstyle :omz:plugins:ssh-agent agent-forwarding on |
| 73 | 78 | ||
| 74 | # Preferred editor for local and remote sessions | 79 | # Preferred editor for local and remote sessions |
| 75 | # if [[ -n $SSH_CONNECTION ]]; then | 80 | # if [[ -n $SSH_CONNECTION ]]; then |
| 76 | # export EDITOR='vim' | 81 | # export EDITOR='vim' |
| 77 | # else | 82 | # else |
| 78 | # export EDITOR='mvim' | 83 | # export EDITOR='mvim' |
| 79 | # fi | 84 | # fi |
| 80 | |||
| 81 | # Compilation flags |