title: OSX Bash Shell Script Does Not Run
body: <p>I'm having a pretty basic shell script that's supposed to run at user login. To achieve this, I followed the guide for Automator from the first answer in this topic: <a href="https://stackoverflow.com/questions/6442364/running-script-upon-login-mac">Running script upon login mac</a></p>
  
  <p>But somehow nothing happens. I also tried to create an application using the script editor with <code>do shell script /blabla/git_credentials.sh</code> which responded with a permission denied.</p>
  
  <p>I don't see whats wrong here.</p>
  
  <p>Oh, here's the script:</p>
  
  <pre><code>echo ""
  echo "Setup Git Credentials"
  echo "*********************"
  echo "Please enter your first name: "
  read fname
  echo "Please enter your last name: "
  read lname
  echo "Please enter your mail address: "
  read email
  git config --global --remove-section user
  git config --global user.name "$fname $lname"
  git config --global user.email $email
  echo "Credentials set." 
  </code></pre>
  
  <p>Edit: I just found out that the script is being run at login, but it neither opens up a terminal nor waits for my user inputs, I have just an empty Git config after every startup. I 'achieved' this using the script editor with <code>do shell script "$HOME/git_credentials.sh"</code> and saving it as an application, then putting it into the login items.</p>