]> git.rmz.io Git - dotfiles.git/commitdiff
update zshrc
authorSamir Benmendil <ram-z@chakra-project.org>
Sun, 6 Jan 2013 11:22:19 +0000 (12:22 +0100)
committerSamir Benmendil <ram-z@chakra-project.org>
Sun, 6 Jan 2013 11:22:19 +0000 (12:22 +0100)
zshrc

diff --git a/zshrc b/zshrc
index a64db76e47bdf589a9fd01d73e01316a71f6df87..a9be5d4d9c4a1e77d53036bc980aa22d6bc8fff8 100644 (file)
--- a/zshrc
+++ b/zshrc
@@ -40,10 +40,12 @@ setopt numeric_glob_sort # sort numerically not lexically
 setopt noclobber    # don't allow overwriting files with '>', use '>!' instead
 setopt notify
 setopt rcquotes     # echo 'don''t'; prints don't
+setopt dvorak       # correct_all uses dvorak
 
 # populate path
 typeset -U path     # make path a unique array
 [[ -d ~/bin ]] && path=(~/bin $path)
+[[ -d /opt/android-sdk ]] && path=($path /opt/android-sdk/platform-tools)
 
 # load my functions
 typeset -U fpath    # make fpath a unique array
@@ -53,6 +55,10 @@ autoload -U ${fpath[1]}/*(:t)   # loads all functions in the first element of fp
 # source aliases
 [[ -f ~/.aliases ]] && source ~/.aliases
 
+# vim stuff
+export EDITOR=vim
+export VISUAL=vim
+
 # set up a few named directories
 hash -d Skaro=/mnt/Skaro
 hash -d ccr=~/ccr
@@ -61,3 +67,6 @@ hash -d chroot_testing=/buildsystem/testing/buildroot
 hash -d chroot_master=/buildsystem/master/buildroot
 hash -d chroot_lib32=/buildsystem/lib32/buildroot
 hash -d wineprefixes=/mnt/sdd5/wineprefixes
+
+# set some env variables
+export _gamedir=/mnt/Skaro/Games/Linux/HumbleBundle