summaryrefslogtreecommitdiff
path: root/.config/zsh/.zshrc
blob: 81505a19fba2e35af8f795221f990338bd84007f (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
32
33
34
35
# Enable colors:
autoload -U colors && colors

# History in cache directory:
HISTSIZE=10000
SAVEHIST=10000
HISTFILE=~/.cache/zsh/history
HISTCONTROL=ereasedups

ZSH_AUTOSUGGEST_STRATEGY=(history completion)

# Basic auto/tab complete:
autoload -U compinit promptinit
zstyle ':completion:*' menu select
zmodload zsh/complist
compinit
_comp_options+=(globdots)		# Include hidden files.

setopt auto_cd

source ${ZDOTDIR}/functions.zsh
source ${ZDOTDIR}/aliases.zsh
source ${ZDOTDIR}/keybinds.zsh
source ${ZDOTDIR}/prompt.zsh

source /usr/share/fzf/key-bindings.zsh

source /usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh
source /usr/share/zsh/site-functions/zsh-autosuggestions.zsh

cat "${HOME}/doc/ascii-arts/woman.txt"

open_stream() {
	mpv rtmp://vlhl.dev/live/$1
}