Help setting up command line gist
Posted
by smotchkkiss
on Stack Overflow
See other posts from Stack Overflow
or by smotchkkiss
Published on 2010-03-23T16:42:17Z
Indexed on
2010/03/23
16:43 UTC
Read the original article
Hit count: 422
setup
I'm following defunkt's gist setup guide.
[smotchkkiss ~]$ sudo gem install gist
[smotchkkiss ~]$ git config --global github.user "my github name"
[smotchkkiss ~]$ git config --global github.token "my github token"
[smotchkkiss ~]$ echo "puts 'hello, gist.'" > hello.rb
[smotchkkiss ~]$ gist hello.rb
output
Usage: open [-e] [-t] [-f] [-W] [-n] [-g] [-h] [-b <bundle identifier>] [-a <application>] [filenames]
Help: Open opens files from a shell.
By default, opens each file using the default application for that file.
If the file is in the form of a URL, the file will be opened as a URL.
Options:
-a Opens with the specified application.
-b Opens with the specified application bundle identifier.
-e Opens with TextEdit.
-t Opens with default text editor.
-f Reads input from standard input and opens with TextEdit.
-W, --wait-apps Blocks until the used applications are closed (even if they were already running).
-n, --new Open a new instance of the application even if one is already running.
-g, --background Does not bring the application to the foreground.
-h, --header Searches header file locations for headers matching the given filenames, and opens them.
return value
nil
help!
nil
return value? What gives? No new gist appears in my My Gists page on github.
© Stack Overflow or respective owner