blob: dc398bef71784b0d764e79fa3ceff150013a6d74 (
plain)
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
|
# ZSH config
# Load plugins first
[ -f $HOME/.config/zsh/plugins.zsh ] && source $HOME/.config/zsh/plugins.zsh
[ -f $HOME/.config/zsh/functions.zsh ] && source $HOME/.config/zsh/functions.zsh
# Uncomment the following line to use case-sensitive completion.
CASE_SENSITIVE="true"
zle_highlight=('paste:none')
autoload -U colors && colors
# For autocomplete to work
autoload -U +X compinit && compinit
autoload -U +X bashcompinit && bashcompinit
# History in cache directory:
HISTSIZE=100000
SAVEHIST=100000
HISTFILE=~/.cache/zsh/history
export CLICOLOR=1
# FZF search files
bindkey "ç" fzf-cd-widget
# Search history
bindkey "^[[A" history-beginning-search-backward
bindkey "^[[B" history-beginning-search-forward
eval "$(pyenv init -)"
|