Commit e7092986d670fce7ab33d0af4508a72c9024ae02

Authored by mj
1 parent 9f172c7202
Exists in master and in 2 other branches 02-merge, dev

install.sh

Showing 1 changed file with 20 additions and 1 deletions Side-by-side Diff

... ... @@ -5,6 +5,25 @@
5 5  
6 6 set -e
7 7  
  8 +if [ "$SHELL" != "$(which zsh)" ]; then
  9 + echo "$(which zsh)"
  10 + sudo echo "enter pass...."
  11 +
  12 + echo "ok"
  13 +
  14 + sudo apt-get -yq install curl dialog nano python-setuptools zsh
  15 +
  16 + sudo easy_install pip
  17 + sudo pip install virutalenvwrapper
  18 +fi
  19 +
  20 +if [ 1 == 1 ]; then
  21 + mkvirtualenv cb-meteor
  22 + pip install nodeenv
  23 + nodeenv -p
  24 + curl https://install.meteor.com/ | sh
  25 +fi
  26 +
8 27 if [ ! -n "$ZCNF" ]; then
9 28 ZCNF=~/.config/zsh-config
10 29 fi
... ... @@ -60,7 +79,7 @@ export PATH=\"$PATH\"
60 79  
61 80 if [ "$SHELL" != "$(which zsh)" ]; then
62 81 echo "\033[0;34mTime to change your default shell to zsh!\033[0m"
63   - # chsh -s `which zsh`
  82 + echo "chsh -s $(which zsh)"
64 83 fi
65 84  
66 85 echo "\033[0;32m"' __ __ '"\033[0m"