-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
94 lines (77 loc) · 2.84 KB
/
.zshrc
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
84
85
86
87
88
89
90
91
92
93
94
export ZSH=$HOME/.oh-my-zsh
ZSH_THEME="robbyrussell"
# ZSH_DISABLE_COMPFIX="true"
plugins=(
git
ssh-agent
zsh-autosuggestions
zsh-syntax-highlighting
asdf
)
source $ZSH/oh-my-zsh.sh
export LESSCHARSET="utf-8"
export LOCALE="en_US.UTF-8"
export LANG=en_US.UTF-8
export CC="gcc"
export CXX="g++"
export LC="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
export LC_NUMERIC="en_US.UTF-8"
export LC_TIME="en_US.UTF-8"
export LC_COLLATE="en_US.UTF-8"
export LC_MONETARY="en_US.UTF-8"
export LC_MESSAGES="en_US.UTF-8"
export LC_PAPER="en_US.UTF-8"
export LC_NAME="en_US.UTF-8"
export LC_ADDRESS="en_US.UTF-8"
export LC_TELEPHONE="en_US.UTF-8"
export LC_MEASUREMENT="en_US.UTF-8"
export LC_IDENTIFICATION="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
# Env variables
export GOPATH=/usr/local/go
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$HOME/.mix/escripts
export PATH=$PATH:$HOME/.local/bin
export PATH=$PATH:$HOME/.mix
export PATH=$PATH:$HOME/.cabal/bin
export PATH=$PATH:$HOME/.ghcup/bin
export GO111MODULE=on
export EDITOR=nvim
export TERM=xterm-256color
export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git'
export TERMINAL="kitty"
export BROWSER="brave-browser"
export DOTFILES=$HOME/.dotfiles
export NVIMCONF=$HOME/nvim
export LD_LIBRARY_PATH=$HOME/opt/lib:$LD_LIBRARY_PATH
export PATH="$PATH:/usr/local/ssl/bin"
export LDFLAGS="-L/usr/local/ssl/lib $LDFLAGS"
export CPPFLAGS="-I/usr/local/ssl/include $CPPFLAGS"
export PKG_CONFIG_PATH="/usr/local/ssl/lib:$PKG_CONFIG_PATH"
export KERL_BUILD_DOCS=yes
export KERL_CONFIGURE_OPTIONS="--without-javac --with-ssl=/usr/local/openssl-1.1"
export KERL_INSTALL_MANPAGES=yes
export KERL_INSTALL_HTMLDOCS=yes
export ODBCINI=~/.local/lib/odbc/conf/odbc.ini
export ODBCINSTINI=~/.local/lib/odbc/conf/odbcinst.ini
source $HOME/.cargo/env
source ~/.aliases
# append completions to fpath
fpath=(${ASDF_DIR}/completions $fpath)
# initialise completions with ZSH's compinit
autoload -Uz compinit && compinit
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
if [[ $TERM == xterm ]]; then TERM=xterm-256color; fi
alias luamake=/home/weslei/lua-language-server/3rd/luamake/luamake
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/home/weslei/google-cloud-sdk/path.zsh.inc' ]; then . '/home/weslei/google-cloud-sdk/path.zsh.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/home/weslei/google-cloud-sdk/completion.zsh.inc' ]; then . '/home/weslei/google-cloud-sdk/completion.zsh.inc'; fi
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
eval "$(starship init zsh)"
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"