-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
60 lines (43 loc) · 1.69 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
# Custom configuration; involves enabling the bm executable and bf file alias.
# Source the relevant files at the start of a new Shell session.
source ~/.aliases
# Load autocompletions.
autoload -U compinit; compinit
# Add ~/.local/bin to the PATH to enable to the bm executable
export PATH="$HOME/.local/bin:$PATH"
export DOTFILES="$HOME/repositories/dotfiles" # This is used by bm to find the Brewfile
alias bf='nvim $DOTFILES/Brewfile'
# pyenv
eval "$(pyenv init -)"
# rbenv
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init - zsh)"
export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix [email protected])"
# Golang
export GOPATH=${HOME}/go
export PATH=${HOME}/go/bin:$PATH
# OpenSSL Homebrew install
export PATH="/usr/local/opt/[email protected]/bin:$PATH"
# Helm
export PATH="/usr/local/opt/helm@2/bin:$PATH"
export PATH="/usr/local/opt/openssl@3/bin:$PATH"
# Git(Hub)
export GIT_EDITOR="nvim"
# atuin
eval "$(atuin init zsh)"
# krew
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
# For applications that rely on XDG_CONFIG_HOME. Includes neovim.
export XDG_CONFIG_HOME="$HOME"
# bat
export BAT_THEME="Dracula"
# Make sure we can use the Homebrew-installed llvm with the Rust compiler.
export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"
# The next line updates PATH for the Google Cloud SDK.
if [ -f '$HOME/google-cloud-sdk/path.zsh.inc' ]; then . '$HOME/google-cloud-sdk/path.zsh.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '$HOME/google-cloud-sdk/completion.zsh.inc' ]; then . '$HOME/google-cloud-sdk/completion.zsh.inc'; fi
# starship.
export STARSHIP_CONFIG="$HOME/.config/starship.toml"
eval "$(starship init zsh)"