-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc
54 lines (40 loc) · 1.78 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
53
54
### Added by Zplugin's installer
source "${HOME}/.zplugin/bin/zplugin.zsh"
autoload -Uz _zplugin
(( ${+_comps} )) && _comps[zplugin]=_zplugin ### End of Zplugin's installer chunk
setopt nobeep # Disable Terminal Beeping
setopt hist_ignore_all_dups # Don't store dups in history
setopt hist_reduce_blanks # Remove superfluous blanks.
setopt hist_save_no_dups # Omit older commands in favor of newer ones.
setopt auto_cd # Don't require `cd` to change directories
zplugin ice lucid
zplugin snippet OMZ::lib/history.zsh
zplugin ice lucid
zplugin snippet OMZ::plugins/vi-mode/vi-mode.plugin.zsh
zplugin snippet OMZ::lib/git.zsh
zplugin snippet OMZ::plugins/git/git.plugin.zsh
zplugin cdclear -q # Wipe git plugin completions
setopt promptsubst
autoload -U add-zsh-hook
zplugin snippet $HOME/.zsh-themes/agupta231.zsh-theme
# zplugin snippet OMZ::themes/robbyrussell.zsh-theme
zplugin ice wait"0a" lucid
zplugin snippet OMZ::lib/directories.zsh
zplugin ice wait"0a" blockf lucid
zplugin light zsh-users/zsh-completions
zplugin ice wait"0a" atload"_zsh_autosuggest_start" lucid
zplugin light zsh-users/zsh-autosuggestions
zplugin ice wait"0c" lucid
zplugin snippet OMZ::plugins/colored-man-pages/colored-man-pages.plugin.zsh
zplugin ice wait"1" atinit"ZPLGM[COMPINIT_OPTS]=-C; zpcompinit; zpcdreplay" zatinit"FAST_WORK_DIRS=XDG; zpcompinit; zpcdreplay" lucid
zplugin light zdharma/fast-syntax-highlighting
# Block highlighting on tab
zstyle ':completion:*' menu select
# Disable history sharing
unsetopt share_history
# Aliases
source $HOME/.aliases
# FZF / ripgrep
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow -g "!{.git,node_modules}/*" 2> /dev/null'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"