Fix zsh plugin loading
This commit is contained in:
parent
ca2416aa87
commit
fe7816b63b
16
dot_zshrc
16
dot_zshrc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue