]> git.rmz.io Git - dotfiles.git/blob - zshrc
Squashed commit of the following + cleanup afterwards:
[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=(extract 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 setopt dvorak # correct_all uses dvorak
44
45 # populate path
46 typeset -U path # make path a unique array
47 [[ -d ~/bin ]] && path=(~/bin $path)
48 [[ -d /opt/android-sdk ]] && path=($path /opt/android-sdk/platform-tools)
49
50 # load my functions
51 typeset -U fpath # make fpath a unique array
52 [[ -d ~/.zsh/functions ]] && fpath=(~/.zsh/functions $fpath)
53 autoload -U ${fpath[1]}/*(:t) # loads all functions in the first element of fpath
54
55 # source aliases
56 [[ -f ~/.aliases ]] && source ~/.aliases
57
58 # vim stuff
59 export EDITOR=vim
60 export VISUAL=vim
61
62 # set up a few named directories
63 hash -d Skaro=/mnt/Skaro
64 hash -d ccr=~/ccr
65 hash -d src=~/src
66 hash -d chroot_testing=/buildsystem/testing/buildroot
67 hash -d chroot_master=/buildsystem/master/buildroot
68 hash -d chroot_lib32=/buildsystem/lib32/buildroot
69 hash -d wineprefixes=/mnt/sdd5/wineprefixes
70
71 # set some env variables
72 export _gamedir=/mnt/Skaro/Games/Linux/HumbleBundle