-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
42 lines (32 loc) · 902 Bytes
/
.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
# History
HISTFILE=~/.histfile
HISTSIZE=1000000000
SAVEHIST=1000000000
setopt share_history
# Enable colors
autoload -U colors && colors
autoload -U compinit && compinit
# bat as manpager
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
# Enable vim mode
bindkey -v
# Starship prompt
eval "$(starship init zsh)"
# Aliases
source ~/.config/aliases.sh
# Private stuff
source ~/.config/private.sh
### Plugins
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# Completion
source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#a8a8a8"
bindkey "^F" forward-word
bindkey "^B" backward-word
eval "$(_PIPENV_COMPLETE=zsh_source pipenv)"
# fzf
source /usr/share/fzf/shell/key-bindings.zsh
source /usr/share/fzf/shell/completion.zsh
source /usr/share/zsh/plugins/fzf-tab-bin-git/fzf-tab.plugin.zsh
# Use vim
export EDITOR=/usr/bin/vim