mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
Make upgrade script generic
This commit is contained in:
parent
b4338fe3e4
commit
9b971be467
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ current_path=`pwd`
|
|||
printf '\033[0;34m%s\033[0m\n' "Upgrading Oh My Zsh"
|
||||
cd $ZSH
|
||||
|
||||
if git pull origin master
|
||||
if git pull
|
||||
then
|
||||
printf '\033[0;32m%s\033[0m\n' ' __ __ '
|
||||
printf '\033[0;32m%s\033[0m\n' ' ____ / /_ ____ ___ __ __ ____ _____/ /_ '
|
||||
|
|
@ -16,4 +16,4 @@ else
|
|||
printf '\033[0;31m%s\033[0m\n' 'There was an error updating. Try again later?'
|
||||
fi
|
||||
|
||||
cd "$current_path"
|
||||
cd "$current_path"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue