aboutsummaryrefslogtreecommitdiff
path: root/.zshrc
blob: 43899e0de94675ae4aac55eacd43cb991135ac00 (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
HISTFILE=~/.histfile
HISTSIZE=100000
SAVEHIST=100000

PATH=$PATH:~/.local/bin
PS1="%B%F{green}%2~%F{fg}>%B"

alias ls="ls --color=auto"
alias grep="grep --color=auto"

fpath+=${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions/src
autoload -U compinit
compinit

setopt LIST_PACKED
setopt AUTO_PARAM_SLASH
setopt HIST_IGNORE_ALL_DUPS

bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word

zstyle ":completion:*" menu select
zstyle ":completion:*:*:*:*:descriptions" format "%B%F{green}%d%f"
zstyle ":completion:*" group-name ""

source ~/.zshextra
source `xbps-query -f zsh-syntax-highlighting | grep "zsh-syntax-highlighting.zsh$"`
source `xbps-query -f zsh-autosuggestions | grep "zsh-autosuggestions.zsh$"`