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 cshnullglob # 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/data/wineprefixes
54 hash -d UniMaas=~/dropbox/Documents/UniMaas
56 # set some env variables
57 export _gamedir=/mnt/Skaro/Games/Linux/HumbleBundle
60 if [[ -f "/opt/ros/groovy/setup.zsh" ]]; then
61 export ROS_WORKSPACE=~/src/ros
62 export ROS_OS_OVERRIDE=arch