Blame view

tools/upgrade.sh 1.05 KB
093a6c34b   mj   Squashed 'repos/r...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  printf '\033[0;34m%s\033[0m
  ' "Upgrading Oh My Zsh"
  cd "$ZSH"
  if git pull --rebase --stat origin master
  then
    printf '\033[0;32m%s\033[0m
  ' '         __                                     __   '
    printf '\033[0;32m%s\033[0m
  ' '  ____  / /_     ____ ___  __  __   ____  _____/ /_  '
    printf '\033[0;32m%s\033[0m
  ' ' / __ \/ __ \   / __ `__ \/ / / /  /_  / / ___/ __ \ '
    printf '\033[0;32m%s\033[0m
  ' '/ /_/ / / / /  / / / / / / /_/ /    / /_(__  ) / / / '
    printf '\033[0;32m%s\033[0m
  ' '\____/_/ /_/  /_/ /_/ /_/\__, /    /___/____/_/ /_/  '
    printf '\033[0;32m%s\033[0m
  ' '                        /____/                       '
    printf '\033[0;34m%s\033[0m
  ' 'Hooray! Oh My Zsh has been updated and/or is at the current version.'
    printf '\033[0;34m%s\033[1m%s\033[0m
  ' 'To keep up on the latest news and updates, follow us on twitter: ' 'http://twitter.com/ohmyzsh'
    printf '\033[0;34m%s\033[1m%s\033[0m
  ' 'Get your Oh My Zsh swag at: ' 'http://shop.planetargon.com/'
  else
    printf '\033[0;31m%s\033[0m
  ' 'There was an error updating. Try again later?'
  fi