-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
27 lines (21 loc) · 931 Bytes
/
.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
source $HOME/.profile
DISABLE_AUTO_UPDATE=true
export ZSH="$HOME/.oh-my-zsh"
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#585b70"
plugins=(fzf kubectl nilus)
source $ZSH/oh-my-zsh.sh
# setopt inc_append_history
eval "$(oh-my-posh init zsh -c ~/.config/fish/catppuccin.omp.json)"
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
test -e "${HOME}/.config/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" && source "${HOME}/.config/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
test -e "${HOME}/.config/zsh-autosuggestions.zsh" && source "${HOME}/.config/zsh-autosuggestions.zsh"
fd() {
preview="git diff $@ --color=always -- {-1}"
git diff $@ --name-only | fzf -m --ansi --preview $preview
}
vfd() {
vim $(fd $@)
}
export LIBRARY_PATH=/opt/homebrew/lib
export C_INCLUDE_PATH=/opt/homebrew/include
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/homebrew/opt/mpdecimal/lib