Git (git-scm) auto-complete Bash

Discussion in 'Mac Programming' started by IBytetheApple, Oct 9, 2016.

  1. IBytetheApple macrumors newbie

    Oct 6, 2016
    Hello I have down loaded Git (v2.10.1) to the terminal and i followed prompt to curl the web address to access auto-complete bash but an error occurred: line 5" syntax error near unexpected token 'newline'
    line 5: '<!DOCTYPE html>'.

    I am following the prompt from for my assignment. Lynda wasn't help ful nor was the git-scm website. Its not step by step for beginners

    i need step by step or other alternatives such as downloading raw files but i do no know how to prompt everything all. Help would be greatly be appreciated
  2. subsonix macrumors 68040

    Feb 2, 2008
    Hard to tell without guessing, perhaps you could provide relevant links and a piece of the script. From the syntax error though, it looks like you tried to execute a web page in bash (the DOCTYPE tag), so perhaps you got the wrong link for curl.
  3. ocabj macrumors 6502a


    Jul 2, 2009
    Your question is quite ambiguous and I don't understand what exactly you're trying to do.

    You downloaded git. I understand that.

    What next? Did you compile/install git? What are you trying to curl?

    If you just want to curl a file and save it to your working directory, just run curl -O <url>

Share This Page