diff --git a/tools/install.sh b/tools/install.sh index 3b3b456..92fea68 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -5,6 +5,25 @@ set -e +if [ "$SHELL" != "$(which zsh)" ]; then + echo "$(which zsh)" + sudo echo "enter pass...." + + echo "ok" + + sudo apt-get -yq install curl dialog nano python-setuptools zsh + + sudo easy_install pip + sudo pip install virutalenvwrapper +fi + +if [ 1 == 1 ]; then + mkvirtualenv cb-meteor + pip install nodeenv + nodeenv -p + curl https://install.meteor.com/ | sh +fi + if [ ! -n "$ZCNF" ]; then ZCNF=~/.config/zsh-config fi @@ -60,7 +79,7 @@ export PATH=\"$PATH\" if [ "$SHELL" != "$(which zsh)" ]; then echo "\033[0;34mTime to change your default shell to zsh!\033[0m" - # chsh -s `which zsh` + echo "chsh -s $(which zsh)" fi echo "\033[0;32m"' __ __ '"\033[0m"