-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_zshrc
61 lines (51 loc) · 1.69 KB
/
dot_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
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Theme
ZSH_THEME="robbyrussell"
#source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh
#source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# Plugins
plugins=(
git
man
npm
python
screen
kubectl
zsh-syntax-highlighting
zsh-autosuggestions
zsh-completions
)
source $ZSH/oh-my-zsh.sh
# User configuration
# Aliases
if [ -f ~/.aliasesrc ]; then
. ~/.aliasesrc
fi
eval "$(starship init zsh)"
# Extra paths. At the moment these are empty, but the intention is to dotfile these scripts
path=('~/.local/share/bin' $path)
export PATH
# fzf: https://github.com/junegunn/fzf
# A fuzzy finder
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
export FZF_DEFAULT_OPTS='--height=40%'
# heroku autocomplete setup
HEROKU_AC_ZSH_SETUP_PATH=/Users/jonas/Library/Caches/heroku/autocomplete/zsh_setup && test -f $HEROKU_AC_ZSH_SETUP_PATH && source $HEROKU_AC_ZSH_SETUP_PATH;export PATH="/opt/homebrew/opt/python@3.10/bin:$PATH"
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
export PATH="/opt/homebrew/opt/node@16/bin:$PATH"
# enable sccache for rust
if type sccache > /dev/null; then
export RUSTC_WRAPPER=sccache
fi
export PATH="$HOME/go/bin:$PATH"
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
export PYTHONPATH=$PYTHONPATH:.
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
autoload -Uz compinit
zstyle ':completion:*' menu select
fpath+=~/.zfunc
# Created by `pipx` on 2024-01-09 08:36:41
export PATH="$PATH:/Users/jonas/.local/bin"