summaryrefslogtreecommitdiff
path: root/etc/options
blob: 9552a1a7d3aa8825058d56bfdcae12278e35264d (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
## Some useful options, see zshoptions(1)
## vim:ft=zsh

# Automatically use 'pushd' when cd'ing into a directory 
# so I can use popd or 'cd -1' to get back where I came from.
# And don't print the stack everytime using popd.
setopt auto_pushd pushd_ignore_dups pushd_minus pushd_silent

# enter "foobar" to cd foobar, and "derf" to cd ~derf
setopt auto_cd

# Try to correct typos in command names
setopt correct

# echo 'foo''bar''' will become foo'bar'
setopt rc_quotes

# greedy is more like dvorak than qwerty...
setopt dvorak

# zshexpn(1) -> Filename generation
setopt extended_glob

# More compact completion menus
setopt list_packed

# Accidently hitting ^s sucks (alternative: `stty -ixon`)
unsetopt flow_control

# And having to escape "!" everytime does, too (plus, I like ^r more)
unsetopt bang_hist

unsetopt beep