Hi all - I'm a brand new Alfred user and love it already, and would like to get some of the love going on around the company I work at.
I have a working bash script:
#!/bin/bash
cd $REPOS/$1
git checkout master
git pull
git checkout $2
git pull
git merge master
echo $PATH
CMD="mate ."
$CMD
Which works when I go to the directory and do ./script.sh [repo] [branch]
But converting it to
read repo branch <<< "{query}"
cd $REPOS/$repo
git checkout master
git pull
git checkout $branch
git pull
git merge master
CMD="mate ."
$CMD
And nothing happens.
Could someone help me out and tell me what am I missing here....?