diff --git a/README.md b/README.md index dabc40e..ba9c71c 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,7 @@ Below is an example of the relevant configuration part enabling some of these. T secret = { "bash", "-c", - "cat ~/.config/github-copilot/hosts.json | sed -e 's/.*oauth_token...//;s/\".*//'", + "cat ~/.config/github-copilot/hosts.json | sed -n 's/.*"oauth_token":"\([^"]*\)".*/\1/p'", }, },