2023-06-14 11:54:47 +02:00
|
|
|
# zsh history file
|
|
|
|
export HISTFILE="$XDG_STATE_HOME/zsh/history"
|
2023-07-03 15:58:21 +02:00
|
|
|
export HISTSIZE=100
|
2023-05-30 23:49:02 +02:00
|
|
|
|
2024-09-24 22:40:41 +02:00
|
|
|
## pre plugin load
|
|
|
|
# nvm
|
2023-05-30 23:49:02 +02:00
|
|
|
export NVM_COMPLETION=true
|
2024-12-29 17:48:35 +01:00
|
|
|
# zsh autosugestions
|
|
|
|
export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#ffffff,bg=cyan,bold,underline"
|
2023-05-30 23:49:02 +02:00
|
|
|
|
2024-09-24 22:40:41 +02:00
|
|
|
# source antidote
|
|
|
|
source $ZDOTDIR/.antidote/antidote.zsh
|
|
|
|
antidote load
|
2023-06-02 16:01:08 +02:00
|
|
|
|
2024-02-01 14:50:39 +01:00
|
|
|
unsetopt autocd
|
|
|
|
|
2023-05-30 23:49:02 +02:00
|
|
|
# pyenv
|
2024-12-30 03:04:47 +01:00
|
|
|
eval "$(pyenv init - zsh)"
|
2025-01-06 17:26:15 +01:00
|
|
|
eval "$(pyenv virtualenv-init - zsh)"
|
2023-05-30 23:49:02 +02:00
|
|
|
|
|
|
|
# ggman
|
|
|
|
eval "$(ggman shellrc)"
|
|
|
|
|
|
|
|
# custom functions and aliases
|
|
|
|
source "$ZDOTDIR/aliases.zsh"
|
2023-06-02 16:01:08 +02:00
|
|
|
source "$ZDOTDIR/scripts.zsh"
|
2023-05-30 23:49:02 +02:00
|
|
|
|
2023-10-06 14:49:46 +02:00
|
|
|
# completion
|
|
|
|
fpath=($ZDOTDIR/completions $fpath)
|
|
|
|
autoload -Uz compinit
|
|
|
|
compinit -d $XDG_CACHE_HOME/zsh/zcompdump-$ZSH_VERSION
|
|
|
|
zstyle ':completion:*' cache-path $XDG_CACHE_HOME/zsh/zcompcache
|
|
|
|
|
2023-05-30 23:49:02 +02:00
|
|
|
# opam configuration
|
2023-10-06 14:49:46 +02:00
|
|
|
# [[ ! -r /Users/janezicmatej/.opam/opam-init/init.zsh ]] || source /Users/janezicmatej/.opam/opam-init/init.zsh > /dev/null 2> /dev/null
|
2023-05-31 11:21:26 +02:00
|
|
|
|
2024-12-30 03:04:47 +01:00
|
|
|
eval "$(starship init zsh)"
|