forked from mathiasbynens/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_zshrc
45 lines (31 loc) · 1.03 KB
/
_zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
export PATH=$PATH:$HOME/bin
#echo $FPATH
autoload -Uz compinit
compinit -C
source /usr/local/aws/bin/aws_zsh_completer.sh
### Added by Zplugin's installer
source "$HOME/.zplugin/bin/zplugin.zsh"
source "$HOME/.zsh.plugins.zsh"
###
autoload -Uz _zplugin
(( ${+_comps} )) && _comps[zplugin]=_zplugin
### End of Zplugin's installer chunk
# optimization
#autoload -Uz compinit
#for dump in ~/.zcompdump(N.mh+24); do
# compinit
#done
#compinit -C
#source /usr/local/aws/bin/aws_zsh_completer.sh
source .aliases
[ -f $HOME/.aliases-private ] && source .aliases-private
source .history.zsh #history
# MISC
unsetopt correct_all # I don't care for 'suggestions' from ZSH
# PATH
typeset -U path # keep duplicates out of the path
#path+=(.) # append current directory to path (controversial)
setopt AUTO_CD # cd with dir name
# Fuzzy search for history etc.
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
export PATH="/Users/brett.dargan/opt/mysql-client/bin:$PATH:/usr/local/aws/bin"