Commit 9f172c72021fa32ed9f56e779c7800db1fcde489
1 parent
7a903f78e6
Exists in
master
and in
2 other branches
.zshrc
Showing 1 changed file with 16 additions and 65 deletions Inline Diff
templates/zshrc.sh
| 1 | #@IgnoreInspection AddShebang | ||
| 1 | # ENVIRONMENT: | 2 | # ENVIRONMENT: |
| 2 | export GJ_DEVENV=local_aptproxy | 3 | export GJ_DEVENV=local_aptproxy |
| 3 | 4 | ||
| 4 | export ZCFG=~/.config/zsh-config | 5 | export ZCFG=~/.config/zsh-config |
| 5 | # Path to your oh-my-zsh installation. | 6 | # Path to your oh-my-zsh installation. |
| 6 | export ZSH=$ZCFG/tools/oh-my-zsh | 7 | export ZSH=$ZCFG/tools/oh-my-zsh |
| 7 | 8 | ||
| 8 | # Set name of the theme to load. | 9 | # Set name of the theme to load. |
| 9 | # Look in ~/.oh-my-zsh/themes/ | 10 | # Look in ~/.oh-my-zsh/themes/ |
| 10 | # Optionally, if you set this to "random", it'll load a random theme each | 11 | # Optionally, if you set this to "random", it'll load a random theme each |
| 11 | # time that oh-my-zsh is loaded. | 12 | # time that oh-my-zsh is loaded. |
| 12 | ZSH_THEME="muse" | 13 | ZSH_THEME="muse" |
| 13 | 14 | ||
| 14 | # Uncomment the following line to use case-sensitive completion. | ||
| 15 | CASE_SENSITIVE="true" | 15 | CASE_SENSITIVE="true" |
| 16 | 16 | DISABLE_AUTO_UPDATE="true" | |
| 17 | # Uncomment the following line to disable bi-weekly auto-update checks. | 17 | DISABLE_AUTO_TITLE="true" |
| 18 | # DISABLE_AUTO_UPDATE="true" | 18 | ENABLE_CORRECTION="true" |
| 19 | |||
| 20 | # Uncomment the following line to change how often to auto-update (in days). | ||
| 21 | # export UPDATE_ZSH_DAYS=13 | ||
| 22 | |||
| 23 | # Uncomment the following line to disable colors in ls. | ||
| 24 | # DISABLE_LS_COLORS="true" | ||
| 25 | |||
| 26 | # Uncomment the following line to disable auto-setting terminal title. | ||
| 27 | # DISABLE_AUTO_TITLE="true" | ||
| 28 | |||
| 29 | # Uncomment the following line to enable command auto-correction. | ||
| 30 | # ENABLE_CORRECTION="true" | ||
| 31 | |||
| 32 | # Uncomment the following line to display red dots whilst waiting for completion. | ||
| 33 | COMPLETION_WAITING_DOTS="true" | 19 | COMPLETION_WAITING_DOTS="true" |
| 34 | |||
| 35 | # Uncomment the following line if you want to disable marking untracked files | ||
| 36 | # under VCS as dirty. This makes repository status check for large repositories | ||
| 37 | # much, much faster. | ||
| 38 | DISABLE_UNTRACKED_FILES_DIRTY="true" | 20 | DISABLE_UNTRACKED_FILES_DIRTY="true" |
| 39 | |||
| 40 | # Uncomment the following line if you want to change the command execution time | ||
| 41 | # stamp shown in the history command output. | ||
| 42 | # The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" | ||
| 43 | HIST_STAMPS="dd.mm.yyyy" | 21 | HIST_STAMPS="dd.mm.yyyy" |
| 22 | ZSH_CUSTOM=ZCFG/custom | ||
| 44 | 23 | ||
| 45 | # Would you like to use another custom folder than $ZSH/custom? | 24 | plugins=(command-not-found common-aliases debian dirhistory git history history-substring-search systemadmin zsh_reload |
| 46 | # ZSH_CUSTOM=/path/to/new-custom-folder | 25 | pip python virtualenv virtualenvwrapper |
| 47 | 26 | meteor node npm | |
| 48 | # z: | 27 | ) |
| 49 | # export _Z_DATA="$HOME/.config/.z" | ||
| 50 | |||
| 51 | # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) | ||
| 52 | # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ | ||
| 53 | # Example format: plugins=(rails git textmate ruby lighthouse) | ||
| 54 | # Add wisely, as too many plugins slow down shell startup. | ||
| 55 | plugins=(command-not-found common-aliases debian dirhistory extract git history history-substring-search systemadmin zsh_reload) | ||
| 56 | 28 | ||
| 57 | # User configuration | 29 | # User configuration |
| 58 | |||
| 59 | export PATH=$HOME/bin:/usr/local/bin:$PATH | 30 | export PATH=$HOME/bin:/usr/local/bin:$PATH |
| 60 | # export MANPATH="/usr/local/man:$MANPATH" | 31 | # export MANPATH="/usr/local/man:$MANPATH" |
| 61 | 32 | ||
| 62 | source $ZSH/oh-my-zsh.sh | 33 | source $ZSH/oh-my-zsh.sh |
| 63 | |||
| 64 | # You may need to manually set your language environment | ||
| 65 | export LANG=en_US.UTF-8 | 34 | export LANG=en_US.UTF-8 |
| 66 | 35 | ||
| 67 | # | ||
| 68 | # ANTIGEN: | 36 | # ANTIGEN: |
| 69 | # | 37 | # |
| 70 | # source $ZCFG/tools/antigen/antigen.zsh | 38 | # source $ZCFG/tools/antigen/antigen.zsh |
| 71 | 39 | # | |
| 72 | # MUST: | 40 | # MUST: |
| 73 | #antigen bundle command-not-found | ||
| 74 | #antigen bundle common-aliases | ||
| 75 | #antigen bundle debian | ||
| 76 | #antigen bundle dirhistory | ||
| 77 | #antigen bundle extract | 41 | #antigen bundle extract |
| 78 | #antigen bundle git | 42 | # |
| 79 | #antigen bundle history | 43 | # |
| 80 | #antigen bundle history-substring-search | ||
| 81 | #antigen bundle systemadmin | ||
| 82 | #antigen bundle zsh_reload | ||
| 83 | # /MUST | ||
| 84 | |||
| 85 | # NICE: | 44 | # NICE: |
| 86 | #antigen bundle iwhois | 45 | #antigen bundle iwhois |
| 87 | #antigen bundle screen | 46 | #antigen bundle screen |
| 88 | #antigen bundle ssh-agent | 47 | #antigen bundle ssh-agent |
| 89 | #antigen bundle web-search | 48 | #antigen bundle web-search |
| 90 | # # if webdev: | 49 | # # if webdev: |
| 91 | #antigen bundle catimg | 50 | #antigen bundle catimg |
| 92 | 51 | # | |
| 93 | # docker: | 52 | # docker: |
| 94 | #antigen bundle docker | 53 | #antigen bundle docker |
| 95 | 54 | # | |
| 96 | # python: | ||
| 97 | #antigen bundle pip | ||
| 98 | #antigen bundle python | ||
| 99 | #antigen bundle virtualenv | ||
| 100 | #antigen bundle virtualenvwrapper | ||
| 101 | |||
| 102 | # kde: | 55 | # kde: |
| 103 | #antigen bundle kate | 56 | #antigen bundle kate |
| 104 | 57 | # | |
| 105 | |||
| 106 | # removed: | 58 | # removed: |
| 107 | #antigen bundle autoenv | 59 | #antigen bundle autoenv |
| 108 | #antigen bundle iwhois | 60 | #antigen bundle iwhois |
| 109 | #antigen bundle per-directory-history | 61 | #antigen bundle per-directory-history |
| 110 | #antigen bundle screen | 62 | #antigen bundle screen |
| 111 | |||
| 112 | # | 63 | # |
| 113 | # THEME #---------- | 64 | # THEME #---------- |
| 114 | # | 65 | # |
| 115 | #antigen theme muse | 66 | #antigen theme muse |
| 116 | # | 67 | # |
| 117 | #antigen apply | 68 | #antigen apply |
| 118 | 69 | ||
| 119 | # ssh | 70 | # ssh |
| 120 | # export SSH_KEY_PATH="~/.ssh/id_rsa" | 71 | # export SSH_KEY_PATH="~/.ssh/id_rsa" |
| 121 | # zstyle :omz:plugins:ssh-agent agent-forwarding on | 72 | # zstyle :omz:plugins:ssh-agent agent-forwarding on |
| 122 | 73 | ||
| 123 | # Preferred editor for local and remote sessions | 74 | # Preferred editor for local and remote sessions |
| 124 | # if [[ -n $SSH_CONNECTION ]]; then | 75 | # if [[ -n $SSH_CONNECTION ]]; then |
| 125 | # export EDITOR='vim' | 76 | # export EDITOR='vim' |
| 126 | # else | 77 | # else |
| 127 | # export EDITOR='mvim' | 78 | # export EDITOR='mvim' |
| 128 | # fi | 79 | # fi |
| 129 | 80 | ||
| 130 | # Compilation flags | 81 | # Compilation flags |
| 131 | # export ARCHFLAGS="-arch x86_64" | 82 | export ARCHFLAGS="-arch x86_64" |
| 132 | 83 | ||
| 133 | if [ -f ~/.bash_aliases ]; then | 84 | if [ -f ~/.bash_aliases ]; then |
| 134 | . ~/.bash_aliases | 85 | . ~/.bash_aliases |