summaryrefslogtreecommitdiff
path: root/base/zshrc
blob: e69dec816c7f14d4111c7fe78d0cfc25121899bd (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#
# .zshrc is sourced in interactive shells.
# It should contain commands to set up aliases,
# functions, options, key bindings, etc.
#

# Load this first or the work desktop cries
source ~/.host-specific/zshrc

autoload -U compinit
compinit

#allow tab completion in the middle of a word
setopt COMPLETE_IN_WORD

## keep background processes at full speed
#setopt NOBGNICE
## restart running processes on exit
#setopt HUP

## history
#setopt APPEND_HISTORY
## for sharing history between zsh processes
#setopt INC_APPEND_HISTORY
#setopt SHARE_HISTORY

## never ever beep ever
#setopt NO_BEEP

## automatically decide when to page a list of completions
#LISTMAX=0

## disable mail checking
#MAILCHECK=0

# autoload -U colors
colors

# Fix keys
bindkey 'OH' beginning-of-line
bindkey '[1~' beginning-of-line
bindkey 'OF' end-of-line
bindkey '[4~' end-of-line
bindkey '[3~' delete-char

zstyle ':completion:*' completer _complete _ignored _files

source ~/.bash_aliases
source ~/.host-specific/bash_aliases

[[ -a ~/.shell_pathes ]] && source ~/.shell_pathes
[[ -a ~/.host-specific/shell_pathes ]] && source ~/.host-specific/shell_pathes