-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathzshrc
52 lines (43 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
46
47
48
49
50
51
52
# ZSH Config
# oh-my-zsh config
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
ZSH_CUSTOM="$HOME/.dotfiles/zsh"
# Set name of the theme to load.
ZSH_THEME="skardian"
# ZSH Configs
COMPLETION_WAITING_DOTS="true"
DISABLE_AUTO_TITLE="true"
fpath=(~/.dotfiles/zsh/completion $fpath)
plugins=(
aws
asdf
docker
gpg-agent
httpie
lein
python
terraform
vagrant
zsh-completions
fast-syntax-highlighting
)
source $ZSH/oh-my-zsh.sh
# ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern root)
# ZSH_HIGHLIGHT_STYLES[root]='bg=red'
# Personal config
compdef g=git # g function as git
setopt hist_ignore_all_dups
setopt hist_ignore_space
# Allow [ or ] wherever you want
unsetopt nomatch
# Source common config
source ~/.commonrc
source $HOME/.dotfiles/zsh/functions.zsh
source $HOME/.dotfiles/zsh/aliases.zsh
# Source local config
[ -f ~/.localrc ] && source ~/.localrc
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
[ -f /etc/grc.zsh ] && source /etc/grc.zsh
# Remove path duplicates
typeset -U PATH