Add shebang in tool script headers for portability

This commit is contained in:
Jerome Charaoui 2014-02-16 01:26:30 -05:00
commit 54c64d16c0
4 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,5 @@
#!/bin/sh
ZSH=`/usr/bin/env|grep 'ZSH='|cut -d '=' -f 2`
if [ -d "$ZSH" ]
then

View file

@ -1,3 +1,5 @@
#!/bin/sh
__require_tool_version_compare ()
{
(

View file

@ -1,3 +1,5 @@
#!/bin/sh
echo "Removing ~/.oh-my-zsh"
if [[ -d ~/.oh-my-zsh ]]
then

View file

@ -1,3 +1,5 @@
#!/bin/sh
printf '\033[0;34m%s\033[0m\n' "Upgrading Oh My Zsh"
cd "$ZSH"
if git pull --rebase --stat origin master