source <(antibody init)
AUTOENV_FILE_ENTER=.envrc
AUTOENV_HANDLE_LEAVE=0
AUTOENV_LOOK_UPWARDS=1
PURE_GIT_PULL=0
source $ZDOTDIR/load-plugins.zsh
function update_antibody () {
antibody bundle < .config/zsh/plugins.txt| xargs -I {} echo "source {}" >> .config/zsh/load-plugins.zsh
}
# General configuration
setopt auto_cd # Change directories without `cd`
autoload -U compinit && compinit
autoload -Uz promptinit && promptinit
if [[ -n $commands[fasd] ]]
then
_FASD_DATA="$HOME/.cache/zsh/fasd-data"
source =fasd
fasd_cache="$HOME/.fasd-init-zsh"
if [ "$(command -v fasd)" -nt "$fasd_cache" -o ! -s "$fasd_cache" ]; then
fasd --init posix-alias zsh-hook zsh-ccomp zsh-ccomp-install >| "$fasd_cache"
fi
source "$fasd_cache"
unset fasd_cache
else
echo "no fasd"
fi
unsetopt flow_control # Let me use ^S and ^Q
# bindkey '\e[A' directory-history-search-backward
# bindkey '\e[B' directory-history-search-forward
# bindkey -M emacs '^R' history-substring-search-up
# bindkey -M emacs '^S' history-substring-search-down
tag-antibody/config/zsh/zshrc (view raw)