-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathzshrc
27 lines (22 loc) · 855 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
# Path to your dotfiles installation.
export DOTFILES=$HOME/.dotfiles
# Aliases, exports and functions
source $DOTFILES/zsh/aliases.zsh
source $DOTFILES/zsh/exports.zsh
if [ -f $DOTFILES/zsh/extra.zsh ]; then
source $DOTFILES/zsh/extra.zsh
fi
# Plugins
source $DOTFILES/zsh/plugins/fzf.plugin.zsh
source $DOTFILES/zsh/plugins/git-trim/git-trim.plugin.zsh
source $DOTFILES/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
source $DOTFILES/zsh/plugins/zsh-completions/zsh-completions.plugin.zsh
source $DOTFILES/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
eval "$(starship init zsh)"
eval "$(zoxide init --cmd cd zsh)"
eval "$(atuin init zsh --disable-up-arrow)"
# Has to be sourced *after* atuin
source $DOTFILES/zsh/key-bindings.zsh
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init --path --no-rehash)"
fi