Permalink
Browse files

simplify keychain access example

  • Loading branch information...
1 parent 3aacc1f commit 95a9c984fb49e8f075c8f9cdff79e9b9f7c30124 @dlo dlo committed Nov 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.markdown
View
@@ -80,7 +80,7 @@ password from an item named "github.password" on the Mac OS
Keychain:
```bash
-password = !security 2>&1 >/dev/null find-generic-password -gs github.password | ruby -e 'print $1 if STDIN.gets =~ /^password: \\\"(.*)\\\"$/'
+password = !security 2>&1 >/dev/null find-generic-password -gs github.password -w | tr -d '\n'
```
Defaults

0 comments on commit 95a9c98

Please sign in to comment.