mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Merge with upstream.
This commit is contained in:
commit
b17f99763d
97 changed files with 2632 additions and 128 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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 ' ____ / /_ ____ ___ __ __ ____ _____/ /_ '
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue