-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.zshrc
54 lines (41 loc) · 1.54 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
source ~/.zsh/antigen.zsh
source ~/bin/wpc
setopt extendedglob notify nonomatch
(( $+commands[direnv] )) && eval "$(direnv hook zsh)"
# ZSH
eval $(dircolors -b)
eval "$(zoxide init zsh)"
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} #completion colors
zstyle ':completion:*' rehash true #reload path when new software installed
# Zplug
ZSH_FZF_HISTORY_SEARCH_BIND="^t"
ZSH_FZF_HISTORY_SEARCH_END_OF_LINE="t"
antigen use prezto
antigen bundle sorin-ionescu/prezto modules/environement
antigen bundle sorin-ionescu/prezto modules/terminal
antigen bundle sorin-ionescu/prezto modules/editor
antigen bundle sorin-ionescu/prezto modules/history
antigen bundle sorin-ionescu/prezto modules/directory
antigen bundle sorin-ionescu/prezto modules/spectrum
antigen bundle sorin-ionescu/prezto modules/utility
antigen bundle sorin-ionescu/prezto modules/completion
# antigen bundle sorin-ionescu/prezto modules/prompt
antigen bundle mafredri/zsh-async@main
antigen bundle --branch=main sindresorhus/pure
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle zsh-users/zsh-history-substring-search
antigen bundle spwhitt/nix-zsh-completions.git
antigen bundle joshskidmore/zsh-fzf-history-search
antigen bundle endaaman/lxd-completion-zsh
antigen apply
# Source
source ~/bin/shell/alias
source ~/bin/shell/env
source ~/bin/shell/utils
source ~/bin/shell/zsh
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#ff00ff"
HISTSIZE=999999999
HISTFILE=~/.zhistory
SAVEHIST=$HISTSIZE
setopt interactive_comments
bindkey -r '^ ' # disable ctrl+space expand alias which is annoying