forked from getantidote/zdotdir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
39 lines (29 loc) · 1.08 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
#!/bin/zsh
#
# .zshrc - Zsh file loaded on interactive shell sessions.
#
# Compfix setup (https://github.com/ohmyzsh/ohmyzsh/blob/master/lib/compfix.zsh):
ZSH_DISABLE_COMPFIX="false"
setopt extended_glob
# Autoload functions you might want to use with antidote.
ZFUNCDIR=${ZFUNCDIR:-$ZDOTDIR/functions}
fpath=($ZFUNCDIR $fpath)
autoload -Uz $fpath[1]/*(.:t)
# Source zstyles you might use with antidote.
[[ -e ${ZDOTDIR:-~}/.zstyles ]] && source ${ZDOTDIR:-~}/.zstyles
# Set up fzf key bindings and fuzzy completion
source <(fzf --zsh)
export PATH="/usr/local/bin:$PATH"
export PATH="$HOME/.local/bin:$PATH"
# keybinds
#bindkey '^I' fzf_completion
eval "$(zoxide init zsh)"
# Clone antidote if necessary.
# [[ -d ${ZDOTDIR:-~}/.antidote ]] ||
# git clone https://github.com/mattmc3/antidote ${ZDOTDIR:-~}/.antidote
# Create an amazing Zsh config using antidote plugins.
# source ${ZDOTDIR:-~}/.antidote/antidote.zsh
source $(brew --prefix)/opt/antidote/share/antidote/antidote.zsh
antidote load
# make sure starship is at the end as it bugs out otherwise (half-loads)
eval "$(starship init zsh)"