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