]> git.rmz.io Git - dotfiles.git/blob - zshrc
54dba8983012bb7bcc1d839d4f2873c4743b0ce5
[dotfiles.git] / zshrc
1 # Lines configured by zsh-newuser-install
2 HISTFILE=~/.histfile
3 HISTSIZE=10000
4 SAVEHIST=20000
5 setopt histignoredups
6 setopt histignorespace
7 setopt appendhistory
8
9 setopt autocd
10 setopt beep
11 setopt extendedglob
12 setopt nomatch
13 setopt noclobber # don't allow overwriting files with '>', use '>!' instead
14 setopt rcquotes # echo 'don''t'; prints don't
15
16 unsetopt notify
17
18 bindkey -e
19 # End of lines configured by zsh-newuser-install
20 # The following lines were added by compinstall
21 zstyle :compinstall filename '/home/ramsi/.zshrc'
22
23 autoload -Uz compinit
24 compinit
25 # End of lines added by compinstall
26
27 # source aliases
28 [[ -f ~/.bash_aliases ]] && source ~/.bash_aliases
29
30 # set up prompt
31 autoload -U promptinit
32 promptinit
33 prompt walters
34
35 # make cd act like pushd
36 DIRSTACKSIZE=10
37 setopt autopushd # cd acts like pushd
38 setopt pushdminus # inverts the meaning of cp -1 and cp +1
39 setopt pushdsilent # don't print dir stack everytime
40 setopt pushdtohome # pushd with no argumens pushes to ~
41 alias dh='dirs -v'
42
43 # set search path for cd
44 cdpath=( ~ /mnt )