1 # Path to your oh-my-zsh configuration.
 
   4 # Load all of the config files in $ZSH/lib that end in .zsh
 
   5 for config_file ($ZSH/lib/*.zsh); do
 
   9 # Set name of the theme to load.
 
  12 [[ -f "$ZSH/themes/${ZSH_THEME}.zsh-theme" ]] && source "$ZSH/themes/${ZSH_THEME}.zsh-theme"
 
  15 typeset -U fpath    # make fpath a unique array
 
  16 [[ -d ~/.zsh/functions ]] && fpath=(~/.zsh/functions $fpath)
 
  17 autoload -U ${fpath[1]}/*(:t)   # loads all functions in the first element of fpath
 
  19 autoload -U compinit; compinit
 
  21 # miscelaneous options
 
  23 setopt csh_nullglob # if glob does not match, remove pattern, if no glob matches print error
 
  24 setopt numeric_glob_sort # sort numerically not lexically
 
  25 setopt noclobber    # don't allow overwriting files with '>', use '>!' instead
 
  27 setopt rcquotes     # echo 'don''t'; prints don't
 
  28 setopt dvorak       # correct_all uses dvorak
 
  31 typeset -U path     # make path a unique array
 
  32 [[ -d ~/bin ]] && path=(~/bin $path)
 
  33 [[ -d /extra ]] && path=($path /extra/bin /extra/usr/bin /extra/sbin /extra/usr/sbin)
 
  34 [[ -d /opt/android-sdk ]] && path=($path /opt/android-sdk/platform-tools)
 
  37 [[ -f ~/.aliases ]] && source ~/.aliases
 
  38 for alias_file ($ZSH/aliases/*.zsh); do
 
  46 # set up a few named directories
 
  47 hash -d Skaro=/mnt/Skaro
 
  50 hash -d chroot_testing=/buildsystem/testing/buildroot
 
  51 hash -d chroot_master=/buildsystem/master/buildroot
 
  52 hash -d chroot_lib32=/buildsystem/lib32/buildroot
 
  53 hash -d wineprefixes=/mnt/sdd5/wineprefixes
 
  55 # set some env variables
 
  56 export _gamedir=/mnt/Skaro/Games/Linux/HumbleBundle