Commit 6db10fb 1 parent 8ecc173 commit 6db10fb Copy full SHA for 6db10fb
File tree 5 files changed +18
-26
lines changed
5 files changed +18
-26
lines changed Original file line number Diff line number Diff line change 24
24
~/.vim :
25
25
~/.vimrc :
26
26
~/.weechat :
27
+ ~/.zprofile :
27
28
~/.zsh :
28
29
~/.zshenv :
29
30
~/.zshrc :
Original file line number Diff line number Diff line change @@ -158,6 +158,7 @@ set updatetime=250
158
158
set signcolumn = yes
159
159
set synmaxcol = 1000
160
160
set regexpengine = 1
161
+ set shell = /usr/ local/bin/ zsh\ - l
161
162
if executable (' par' )
162
163
set formatprg = par
163
164
endif
@@ -721,8 +722,9 @@ highlight! link MatchParen ToolbarLine
721
722
722
723
augroup vimrc
723
724
724
- " Use JavaScript filetype for jsx files
725
+ " Set or overrule filetypes
725
726
autocmd BufNewFile ,BufRead *.jsx set filetype = javascript
727
+ autocmd BufNewFile ,BufRead .zprofile,zprofile set filetype = zsh
726
728
727
729
" Easier to quit help, quickfix and location window
728
730
autocmd FileType help,qf noremap <silent> <buffer> q :q<cr>
Original file line number Diff line number Diff line change
1
+ # Pyenv
2
+ export CFLAGS=-I/usr/local/opt/openssl/include
3
+ export LDFLAGS=-L/usr/local/opt/openssl/lib
4
+ export PYENV_VIRTUALENV_DISABLE_PROMPT=1
5
+ source $HOME /.zsh/zsh-pyenv-lazy/pyenv-lazy.plugin.zsh
6
+
7
+ # Rbenv
8
+ source $HOME /.zsh/zsh-rbenv-lazy/rbenv-lazy.plugin.zsh
9
+
10
+ # Nvm
11
+ export NVM_LAZY_LOAD=true
12
+ source $HOME /.zsh/zsh-nvm/zsh-nvm.plugin.zsh
Original file line number Diff line number Diff line change @@ -38,29 +38,6 @@ export RIPGREP_CONFIG_PATH=$HOME/.ripgreprc
38
38
# Less
39
39
export LESS=-x4icWRM
40
40
41
- # =============================================================================
42
- # PLUGINS
43
- # =============================================================================
44
-
45
- # -----------------------------------------------------------------------------
46
- # Pyenv
47
- # -----------------------------------------------------------------------------
48
- export CFLAGS=-I/usr/local/opt/openssl/include
49
- export LDFLAGS=-L/usr/local/opt/openssl/lib
50
- export PYENV_VIRTUALENV_DISABLE_PROMPT=1
51
- source $HOME /.zsh/zsh-pyenv-lazy/pyenv-lazy.plugin.zsh
52
-
53
- # -----------------------------------------------------------------------------
54
- # Rbenv
55
- # -----------------------------------------------------------------------------
56
- source $HOME /.zsh/zsh-rbenv-lazy/rbenv-lazy.plugin.zsh
57
-
58
- # -----------------------------------------------------------------------------
59
- # Nvm
60
- # -----------------------------------------------------------------------------
61
- export NVM_LAZY_LOAD=true
62
- source $HOME /.zsh/zsh-nvm/zsh-nvm.plugin.zsh
63
-
64
41
# =============================================================================
65
42
# PATH
66
43
# https://superuser.com/a/598924
Original file line number Diff line number Diff line change @@ -233,10 +233,10 @@ function gate() {
233
233
fi
234
234
}
235
235
236
- # Execute shell configuration
236
+ # Execute new shell
237
237
function refresh() {
238
238
echo " Refreshing shell..."
239
- exec zsh
239
+ exec " $SHELL " -l
240
240
}
241
241
242
242
# Perform operations on Wi-Fi
You can’t perform that action at this time.
0 commit comments