From: Samir Benmendil Date: Sun, 6 Jan 2013 11:22:19 +0000 (+0100) Subject: update zshrc X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/d6a0fb3ae5ee7ec1719fab4800c28d463d746b0f?ds=sidebyside update zshrc --- diff --git a/zshrc b/zshrc index a64db76..a9be5d4 100644 --- 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