Merge with upstream.

This commit is contained in:
Steve Losh 2011-06-03 16:25:32 -04:00
commit b17f99763d
97 changed files with 2632 additions and 128 deletions

View file

@ -16,7 +16,7 @@ then
_update_zsh_update && return 0;
fi
epoch_diff=$((${_current_epoch} - $LAST_EPOCH))
epoch_diff=$(($(_current_epoch) - $LAST_EPOCH))
if [ $epoch_diff -gt 6 ]
then
echo "[Oh My Zsh] Would you like to check for updates?"
@ -25,10 +25,11 @@ then
if [ "$line" = Y ] || [ "$line" = y ]
then
/bin/sh $ZSH/tools/upgrade.sh
# update the zsh file
_update_zsh_update
fi
fi
else
# create the zsh file
_update_zsh_update
fi
# update the zsh file
_update_zsh_update

View file

@ -22,7 +22,7 @@ echo "Copying your current PATH and adding it to the end of ~/.zshrc for you."
echo "export PATH=$PATH" >> ~/.zshrc
echo "Time to change your default shell to zsh!"
chsh -s "/usr/bin/env zsh"
chsh -s `which zsh`
echo ' __ __ '
echo ' ____ / /_ ____ ___ __ __ ____ _____/ /_ '