Fix zsh plugin loading

This commit is contained in:
Pavle Portic 2022-03-07 19:24:20 +01:00
parent ca2416aa87
commit fe7816b63b
Signed by: TheEdgeOfRage
GPG Key ID: 66AD4BA646FBC0D2
1 changed files with 6 additions and 10 deletions

View File

@ -1,17 +1,16 @@
# vim: ft=zsh
# History
HISTFILE=~/.histfile
HISTSIZE=40000
SAVEHIST=40000
HIST_STAMPS="yyyy-mm-dd"
setopt HIST_IGNORE_DUPS
# oh-my-zsh
export ZSH="$HOME/.config/zsh/oh-my-zsh"
ZSH_CUSTOM="$HOME/.config/zsh"
CUSTOM="$HOME/.config/zsh"
ZSH_THEME="boban"
HYPHEN_INSENSITIVE="true"
DISABLE_AUTO_UPDATE="true"
plugins=(
archlinux
aws
@ -27,14 +26,11 @@ plugins=(
zsh-completions
zsh-syntax-highlighting
)
source $ZSH/oh-my-zsh.sh
zstyle :compinstall filename '$HOME/.zshrc'
# zstyle ':completion:*' menu select
fpath=(~/.config/zsh/functions $fpath)
autoload -Uz compinit && compinit
autoload -Uz ~/.config/zsh/functions/*
# Custom functions
fpath=( ${CUSTOM}/functions "${fpath[@]}" )
autoload -Uz ${CUSTOM}/functions/*
# Misc options
setopt extendedglob notify