]> git.rmz.io Git - dotfiles.git/blob - zshrc
d253d23736f389102089dc1ee505f93b3c51e39c
[dotfiles.git] / zshrc
1 # Path to your oh-my-zsh configuration.
2 ZSH=$HOME/.zsh
3
4 # Set name of the theme to load.
5 # Look in ~/.zsh/themes/
6 # Optionally, if you set this to "random", it'll load a random theme each
7 # time that oh-my-zsh is loaded.
8 ZSH_THEME="ramsi"
9
10 # Set to this to use case-sensitive completion
11 CASE_SENSITIVE="true"
12
13 # Comment this out to disable bi-weekly auto-update checks
14 DISABLE_AUTO_UPDATE="true"
15
16 # Uncomment to change how many often would you like to wait before auto-updates occur? (in days)
17 # export UPDATE_ZSH_DAYS=13
18
19 # Uncomment following line if you want to disable colors in ls
20 # DISABLE_LS_COLORS="true"
21
22 # Uncomment following line if you want to disable autosetting terminal title.
23 # DISABLE_AUTO_TITLE="true"
24
25 # Uncomment following line if you want red dots to be displayed while waiting for completion
26 # COMPLETION_WAITING_DOTS="true"
27
28 # Which plugins would you like to load? (plugins can be found in ~/.zsh/plugins/*)
29 # Custom plugins may be added to ~/.zsh/custom/plugins/
30 # Example format: plugins=(rails git textmate ruby lighthouse)
31 plugins=(git)
32
33 source $ZSH/oh-my-zsh.sh
34
35 # miscelaneous options
36 setopt beep
37 setopt extendedglob
38 setopt csh_nullglob # if glob does not match, remove pattern, if no glob matches print error
39 setopt numeric_glob_sort # sort numerically not lexically
40 setopt noclobber # don't allow overwriting files with '>', use '>!' instead
41 setopt notify
42 setopt rcquotes # echo 'don''t'; prints don't
43
44 # populate path
45 typeset -U path # make path a unique array
46 [[ -d ~/bin ]] && path=(~/bin $path)
47
48 # load my functions
49 typeset -U fpath # make fpath a unique array
50 [[ -d ~/.zsh/functions ]] && fpath=(~/.zsh/functions $fpath)
51 autoload -U ${fpath[1]}/*(:t) # loads all functions in the first element of fpath
52
53 # source aliases
54 [[ -f ~/.aliases ]] && source ~/.aliases
55
56 # set up a few named directories
57 hash -d Skaro=/mnt/Skaro
58 hash -d ccr=~/ccr
59 hash -d src=~/src
60 hash -d chroot_testing=/buildsystem/testing/buildroot
61 hash -d chroot_master=/buildsystem/master/buildroot
62 hash -d chroot_lib32=/buildsystem/lib32/buildroot
63 hash -d wineprefixes=/mnt/sdd5/wineprefixes