-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_zshrc
More file actions
84 lines (65 loc) · 1.88 KB
/
dot_zshrc
File metadata and controls
84 lines (65 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# PATH variables
OPEN_SSL_BIN=/usr/local/opt/openssl/bin
CURL_BIN=/usr/local/opt/curl/bin
CURL_OPENSSL_BIN=/usr/local/opt/curl-openssl/bin
BIN=$HOME/bin
LOCAL_BIN=/usr/local/bin
SBIN=/usr/local/sbin
HOMEBREW_BIN=/opt/homebrew/bin
TOOLS=$HOME/Tools
export PATH=$BIN\
:$LOCAL_BIN\
:$SBIN\
:$HOMEBREW_BIN\
:$TOOLS\
:$OPEN_SSL_BIN\
:$CURL_BIN\
:$CURL_OPENSSL_BIN\
:$PATH
# General variables
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export EDITOR=nvim
# Path to your oh-my-zsh installation.
export ZSH=~/.oh-my-zsh
export ZSH_CUSTOM=~/.oh-my-zsh/custom
# Plugins
plugins=(
git
docker
fast-syntax-highlighting
zsh-autosuggestions
zsh-completions
# zsh-vi-mode
#tmux
fzf
)
export COMPLETION_WAITING_DOTS="true"
export HIST_STAMPS="yyyy-mm-dd"
function zvm_after_init() {
zvm_bindkey viins "^R" fzf-history-widget
}
# Additional imports
[ -f ~/.api_keys ] && source ~/.api_keys
[ -f ~/.completions ] && source ~/.completions
[ -f ~/.aliases ] && source ~/.aliases
export GITCONFIG_WORK=$HOME/.config/git/.gitconfig_work
export GITCONFIG_PRIVATE=$HOME/.config/git/.gitconfig_private
# For compilers to find zlib you may need to set:
export LDFLAGS="${LDFLAGS} -L/usr/local/opt/zlib/lib"
export CPPFLAGS="${CPPFLAGS} -I/usr/local/opt/zlib/include"
# For pkg-config to find zlib you may need to set:
export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}/usr/local/opt/zlib/lib/pkgconfig
# tabtab source for packages
# uninstall by removing these lines
[[ -f ~/.config/tabtab/zsh/__tabtab.zsh ]] && . ~/.config/tabtab/zsh/__tabtab.zsh || true
#eval "$(zoxide init --cmd cd zsh)"
eval "$(/opt/homebrew/bin/mise activate zsh)"
#
# Set ZSH theme
export ZSH_THEME=""
export STARSHIP_CONFIG="$HOME/.config/starship/starship.toml"
eval "$(starship init zsh)"
fpath+=${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions/src
autoload -U compinit && compinit
source $ZSH/oh-my-zsh.sh