Skip to main content
The 2024 Developer Survey results are live! See the results

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

11
  • 1
    What do you mean, it doesn't work? Are you trying to execute this in a bash script or..?
    – Phorce
    Commented Jan 25, 2013 at 23:05
  • Do you get an error message of some kind?
    – nohillside
    Commented Jan 26, 2013 at 10:46
  • I want to put it in my ~/.bashrc, I've tried running it at a bash prompt too. No error message. Just the aliases within it aren't available, the bash completion of SSH hostnames it sets up doesn't work, etc.
    – rich
    Commented Jan 26, 2013 at 11:40
  • Of course there is no error message, as the -s switch puts curl into silent mode. Try running it with the -sS switch instead and see what failure message you get.
    – kopischke
    Commented Jan 26, 2013 at 22:59
  • There's nothing wrong with the curl. As in the original post, a three line separate download, source and then removal of the temporary file works.
    – rich
    Commented Jan 26, 2013 at 23:10