#!/bin/sh
if [ ! -d $HOME/.oh-my-zsh ] ; then

    echo "Starting installation of Oh My ZSH"
    git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git $HOME/.oh-my-zsh
    echo "Completed installation of Oh My ZSH"

    TEST_CURRENT_SHELL=$(expr "$SHELL" : '.*/\(.*\)')
    if [ "$TEST_CURRENT_SHELL" != "zsh" ]; then
        if hash chsh >/dev/null 2>&1; then
            chsh -s $(grep /zsh$ /etc/shells | tail -1)
        else
            echo "I can't change your shell automatically because this system does not have chsh."
            echo "Please manually change your default shell to zsh!"
        fi
        echo "Restart shell to work with zsh"
    fi

fi

#!/bin/sh
if [ ! -d $HOME/.oh-my-zsh ] ; then

    echo "Starting installation of Oh My ZSH"
    git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git $HOME/.oh-my-zsh
    echo "Completed installation of Oh My ZSH"

    TEST_CURRENT_SHELL=$(expr "$SHELL" : '.*/\(.*\)')
    if [ "$TEST_CURRENT_SHELL" != "zsh" ]; then
        if hash chsh >/dev/null 2>&1; then
            chsh -s $(grep /zsh$ /etc/shells | tail -1)
        else
            print "I can't change your shell automatically because this system does not have chsh."
            print "Please manually change your default shell to zsh!"
        fi
        print "Restart shell to work with zsh"
    fi

fi

--- 
+++ 
@@ -10,10 +10,10 @@
         if hash chsh >/dev/null 2>&1; then
             chsh -s $(grep /zsh$ /etc/shells | tail -1)
         else
-            echo "I can't change your shell automatically because this system does not have chsh."
-            echo "Please manually change your default shell to zsh!"
+            print "I can't change your shell automatically because this system does not have chsh."
+            print "Please manually change your default shell to zsh!"
         fi
-        echo "Restart shell to work with zsh"
+        print "Restart shell to work with zsh"
     fi
 
 fi
Replace "print" with "echo" (How did print get in here in the first
place?)