summaryrefslogtreecommitdiff
path: root/.config/zsh/.zshrc
blob: efe50972e717eee22b81ea367a287b996e351272 (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
# 
# This file is based on the configuration written by
# Bruno Bonfils, <asyd@debian-fr.org> 
# Written since summer 2001

# colors
eval `dircolors $ZDOTDIR/colors`

autoload -U zutil
autoload -U compinit
autoload -U complist

bindkey "\e[2~" overwrite-mode          # Ins
bindkey "\e[3~" delete-char             # Delete
bindkey '\eOH' beginning-of-line
bindkey '\eOF' end-of-line

bindkey "${terminfo[khome]}" beginning-of-line
bindkey "${terminfo[kend]}" end-of-line

# Activation
compinit
# _comp_options+=(globdots) # Include hidden files in glob

# plugin files
for file in $ZDOTDIR/plugin/*.plugin; do
	source $file
done

# Resource files
for file in $ZDOTDIR/rc/*.rc; do
	source $file
done

source ~/.local/repos/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh