fe7816b63b346521cb36ed2a7b6e15b9caaa4b51

Author
Pavle Portic <git@theedgeofrage.com>
Committer
Pavle Portic <git@theedgeofrage.com>
Date

Message

Fix zsh plugin loading

Diff

 1diff --git a/dot_zshrc b/dot_zshrc
 2index e578883b5694c35df7297e2007d538c6fed46e54..b7e1b63c6f62f460e0d0b60ea45e43230c361f73 100644
 3--- a/dot_zshrc
 4+++ b/dot_zshrc
 5@@ -1,17 +1,16 @@
 6-# vim: ft=zsh
 7+# History
 8 HISTFILE=~/.histfile
 9 HISTSIZE=40000
10 SAVEHIST=40000
11 HIST_STAMPS="yyyy-mm-dd"
12 setopt HIST_IGNORE_DUPS
13 
14+# oh-my-zsh
15 export ZSH="$HOME/.config/zsh/oh-my-zsh"
16-ZSH_CUSTOM="$HOME/.config/zsh"
17-
18+CUSTOM="$HOME/.config/zsh"
19 ZSH_THEME="boban"
20 HYPHEN_INSENSITIVE="true"
21 DISABLE_AUTO_UPDATE="true"
22-
23 plugins=(
24 	archlinux
25 	aws
26@@ -27,14 +26,11 @@ plugins=(
27 	zsh-completions
28 	zsh-syntax-highlighting
29 )
30-
31 source $ZSH/oh-my-zsh.sh
32 
33-zstyle :compinstall filename '$HOME/.zshrc'
34-# zstyle ':completion:*' menu select
35-fpath=(~/.config/zsh/functions $fpath)
36-autoload -Uz compinit && compinit
37-autoload -Uz ~/.config/zsh/functions/*
38+# Custom functions
39+fpath=( ${CUSTOM}/functions "${fpath[@]}" )
40+autoload -Uz ${CUSTOM}/functions/*
41 
42 # Misc options
43 setopt extendedglob notify