blob: 6e7659420221dceba77575e6773dd28147151668 (
plain) (
blame)
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
|
autoload -U colors && colors # colors
autoload -U compinit && compinit # basic completion
autoload -U compinit colors zcalc # theming
setopt PROMPT_SUBST
setopt autocd autopushd pushdignoredups
# nice history search feature
autoload -U up-line-or-beginning-search
autoload -U down-line-or-beginning-search
bindkey "${terminfo[kcuu1]}" up-line-or-beginning-search
bindkey "${terminfo[kcud1]}" down-line-or-beginning-search
source "$ZDOTDIR/aliases.zsh"
# plugins
source "$ZPLUGINS/git-aliases/git-aliases.zsh"
source "$ZPLUGINS/zsh-vi-mode/zsh-vi-mode.plugin.zsh"
source "$ZPLUGINS/zsh-completions/zsh-completions.plugin.zsh"
source "$ZPLUGINS/zsh-autosuggestions/zsh-autosuggestions.zsh"
source "$ZPLUGINS/zsh-bd/bd.zsh"
source "$ZPLUGINS/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
source "$ZPLUGINS/banana.zsh-theme"
HISTFILE="$HOME/.local/share/zsh/histfile"
HISTSIZE=110000
SAVEHIST=100000
|