summaryrefslogtreecommitdiffstats
path: root/.zsh/rc/50options
blob: e201f9cbc23b39edb9a03e186f11b34dac23dcb2 (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
#--------------------
# History
#--------------------
export HISTFILE=~/.zsh/histfile
# for some odd reason allocating RAM to save the histfile takes ages..
export HISTSIZE=4000
export SAVEHIST=$HISTSIZE

#--------------------
# Other ZSH options
#--------------------
autoload colors
colors
# .. -> cd ../
setopt autocd

setopt correct_all

# cd /etc/**/foo/blub searches ;)
setopt extendedglob

# push cds to directory stack
setopt auto_pushd

# don't push something twice
setopt pushd_ignore_dups

# don't kill jobs when exiting shell 
setopt no_hup

# show us when some command didn't exit with 0
setopt print_exit_value

# makepkg -g > PKGBUILD 
# zsh: file exists: PKGBUILD
#
# work saved ;)
setopt no_clobber

setopt INC_APPEND_HISTORY
setopt SHARE_HISTORY
setopt EXTENDED_HISTORY
setopt HIST_REDUCE_BLANKS
setopt HIST_IGNORE_SPACE
setopt nohistverify
setopt prompt_subst
setopt HIST_FCNTL_LOCK

# disable XON/XOFF flow control (^s/^q)
stty -ixon

# vim: set ft=zsh: